Skip to content

Commit

Permalink
update workflow to .NET 9
Browse files Browse the repository at this point in the history
  • Loading branch information
JimGeersinga committed Nov 12, 2024
1 parent 001499e commit a9f4b13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
env:
AZURE_WEBAPP_NAME: ned-wot
AZURE_WEBAPP_PACKAGE_PATH: battleresults-app
DOTNET_VERSION: 8.0.x
APP_PACKAGES_LOCATION: NED.WoT.BattleResults.Client\bin\Release\net8.0-windows10.0.19041.0\win10-x64\AppPackages
DOTNET_VERSION: 9.0.x
APP_PACKAGES_LOCATION: NED.WoT.BattleResults.Client\bin\Release\net9.0-windows10.0.19041.0\win10-x64\AppPackages

jobs:
build:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
run: certutil -user -q -p ${{ secrets.WINDOWS_PFX_PASSWORD }} -importpfx cert.pfx NoRoot

- name: Build
run: dotnet publish NED.WoT.BattleResults.Client\NED.WoT.BattleResults.Client.csproj -c Release -f:net8.0-windows10.0.19041.0
run: dotnet publish NED.WoT.BattleResults.Client\NED.WoT.BattleResults.Client.csproj -c Release -f:net9.0-windows10.0.19041.0

#- name: Update .appinstaller file
# run: |
Expand All @@ -53,4 +53,4 @@ jobs:
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: 'NED.WoT.BattleResults.Client/bin/Release/net8.0-windows10.0.19041.0/win10-x64/AppPackages'
package: 'NED.WoT.BattleResults.Client/bin/Release/net9.0-windows10.0.19041.0/win10-x64/AppPackages'

0 comments on commit a9f4b13

Please sign in to comment.