Skip to content

Commit

Permalink
fix: should now build properly, specified a proper RID
Browse files Browse the repository at this point in the history
  • Loading branch information
MidKnightXI committed Jun 27, 2024
1 parent c41a800 commit f9125fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runtime:
- ubuntu-latest: linux-x64
- windows-latest: win-x64
- macos-latest: osx-arm64

steps:
- name: Checkout repository
Expand All @@ -25,7 +29,7 @@ jobs:
run: dotnet restore

- name: Build the project
run: dotnet publish -c Release -r ${{ matrix.os }} --self-contained -p:PublishAot=true
run: dotnet publish -c Release -r ${{ matrix.runtime }} --self-contained -p:PublishAot=true

- name: Archive the build artifacts for Linux
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit f9125fc

Please sign in to comment.