Skip to content

Commit

Permalink
test: downgrade .NET version to 7.0.x and update MSIX-Hero build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
yannouuuu committed Sep 28, 2024
1 parent 7f68db0 commit 8369b87
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x' # Adjust this version as needed for MSIX-Hero
dotnet-version: '7.0.x'

- name: Clone MSIX-Hero repository
run: |
Expand All @@ -179,16 +179,11 @@ jobs:
- name: Clean NuGet cache
run: dotnet nuget locals all --clear

- name: Restore NuGet packages
run: |
cd MSIX-Hero
dotnet restore
- name: Build MSIX-Hero
run: |
cd MSIX-Hero
msbuild Otor.MsixHero.sln /p:Configuration=Release /p:Platform="Any CPU"
msbuild Otor.MsixHero.sln /t:Clean /p:Configuration=Release /p:Platform="Any CPU"
- name: Verify MSIX-Hero build
run: |
if (Test-Path "MSIX-Hero/src/Otor.MsixHero.App/bin/Release/net8.0-windows10.0.22621.0/Otor.MsixHero.App.exe") {
Expand Down

0 comments on commit 8369b87

Please sign in to comment.