Skip to content

Commit

Permalink
feat: added a job for each platform
Browse files Browse the repository at this point in the history
  • Loading branch information
MidKnightXI committed Jun 27, 2024
1 parent bbac742 commit bfdc3d5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,17 @@ jobs:
- name: Install dependencies
run: dotnet restore

- name: Build the project
run: dotnet publish -c Release -r ${{ matrix.os == 'ubuntu-latest' && 'linux-x64' || matrix.os == 'windows-latest' && 'win-x64' || 'osx-arm64' }} --self-contained -p:PublishAot=true
- name: Build the project for Linux
if: matrix.os == 'ubuntu-latest'
run: dotnet publish -c Release -r linux-x64 --self-contained -p:PublishAot=true

- name: Build the project for Windows
if: matrix.os == 'windows-latest'
run: dotnet publish -c Release -r win-x64 --self-contained -p:PublishAot=true

- name: Build the project for macOS
if: matrix.os == 'macos-latest'
run: dotnet publish -c Release -r osx-arm64 --self-contained -p:PublishAot=true

- name: Archive the build artifacts for Linux
if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "WhichCam",
"version": "v2.0.2",
"version": "v2.0.3",
"description": "Orders medias by its camera maker or model.",
"type": "detection",
"arguments": [
Expand Down

0 comments on commit bfdc3d5

Please sign in to comment.