Skip to content

Commit

Permalink
fix targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshnj committed Nov 15, 2024
1 parent 86c1041 commit 6fc2620
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- main

name: Build and Pack
name: .NET

jobs:
build:
Expand Down Expand Up @@ -55,14 +55,14 @@ jobs:

- name: Build on Windows
if: matrix.os == 'windows-latest'
run: .\windows\build\build.ps1 -output_dir .\bin
run: .\windows\build\build.ps1 -output_dir .\bin -targets ${{ matrix.target }}
shell: pwsh

- name: Build on macOS
if: matrix.os == 'macos-latest'
run: |
chmod +x ./windows/build/build.sh
./windows/build/build.sh -o ./bin
./windows/build/build.sh -o ./bin -t ${{ matrix.target }}
shell: bash

- name: Upload artifacts
Expand Down

0 comments on commit 6fc2620

Please sign in to comment.