Skip to content

Commit

Permalink
Fix AOT build
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok committed Aug 20, 2024
1 parent 4a007ae commit a50f5d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
run: |
dotnet run --project PuppeteerSharpPdfDemo-Local.csproj auto-exit -f net8.0
- name: Run with AOT
if: matrix.os == 'macos-latest'
if: matrix.os == 'windows-2022'
working-directory: ./demos/PuppeteerSharpPdfDemo
run: |
dotnet run --project PuppeteerSharpPdfDemo-Local.csproj -r osx-arm64 -c Release -f net8.0 auto-exit
dotnet publish PuppeteerSharpPdfDemo-Local.csproj -r win-x64 -o build
build/PuppeteerSharpPdfDemo-Local.exe auto-exit
- name: Run on .NET Framework
if: matrix.os == 'windows-2022'
working-directory: ./demos/PuppeteerSharpPdfDemo
Expand Down

0 comments on commit a50f5d4

Please sign in to comment.