mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 15:19:57 +00:00
Fix pipelines (#1386)
This commit is contained in:
@@ -67,7 +67,4 @@ jobs:
|
||||
run: dotnet build Daybreak.Linux/Daybreak.Linux.csproj -c $Configuration
|
||||
|
||||
- name: Build Installer (linux-x64)
|
||||
run: dotnet build Daybreak.Installer/Daybreak.Installer.csproj -c $Configuration
|
||||
|
||||
- name: Run tests
|
||||
run: dotnet test Daybreak.Tests/Daybreak.Tests.csproj -c $Configuration
|
||||
run: dotnet build Daybreak.Installer/Daybreak.Installer.csproj -c $Configuration
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
Configuration: Release
|
||||
Solution_Path: Daybreak.slnx
|
||||
Test_Project_Path: Daybreak.Tests\Daybreak.Tests.csproj
|
||||
Wpf_Project_Path: Daybreak\Daybreak.csproj
|
||||
Wpf_Project_Path: Daybreak.Windows\Daybreak.Windows.csproj
|
||||
Actions_Allow_Unsecure_Commands: true
|
||||
|
||||
steps:
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
uses: WyriHaximus/github-action-get-previous-tag@v1
|
||||
|
||||
- name: Build Daybreak project
|
||||
run: dotnet build Daybreak.Linux -c $env:Configuration --property:SolutionDir=$env:GITHUB_WORKSPACE
|
||||
run: dotnet build Daybreak.Linux -c $Configuration --property:SolutionDir=$GITHUB_WORKSPACE
|
||||
|
||||
- name: Set version variable
|
||||
run: |
|
||||
@@ -50,8 +50,7 @@ jobs:
|
||||
echo "Version=$version" >> $GITHUB_ENV
|
||||
|
||||
- name: Check version difference
|
||||
run: |
|
||||
.\Scripts\CompareVersions -currentVersion ${{ env.Version }} -lastVersion ${{ env.LatestReleaseTag }}
|
||||
run: pwsh ./Scripts/CompareVersions.ps1 -currentVersion ${{ env.Version }} -lastVersion ${{ env.LatestReleaseTag }}
|
||||
env:
|
||||
LatestReleaseTag: ${{ steps.getLatestTag.outputs.tag }}
|
||||
shell:
|
||||
|
||||
Reference in New Issue
Block a user