Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taublast authored Jun 21, 2024
1 parent cb61a12 commit 4723abe
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,8 @@ jobs:

- name: Install MAUI workload
run: dotnet workload install maui
- name: Decrypt PFX File
run: |
echo "${{ secrets.WINDOWS_PFX_FILE }}" > cert.pfx.asc
certutil -decode cert.pfx.asc cert.pfx
- name: Add Cert to Store
run: certutil -user -q -p ${{ secrets.WINDOWS_PFX_PASSWORD }} -importpfx cert.pfx NoRoot

- name: Build
run: dotnet publish MauiGithubActionsSample/MauiGithubActionsSample.csproj -c Release -f:net6.0-windows10.0.19041.0 /p:GenerateAppxPackageOnBuild=true /p:AppxPackageSigningEnabled=true /p:PackageCertificateThumbprint="${{ secrets.WINDOWS_PFX_THUMBPRINT }}"
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3.1.0
with:
path: .\**\AppPackages\**\*.*
run: dotnet build src/SpaceShooter.sln -c Release -f:net8.0-windows10.0.19041.0


0 comments on commit 4723abe

Please sign in to comment.