Skip to content

Commit

Permalink
ci: specify configuration explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikostiha committed Oct 15, 2024
1 parent 3a91c63 commit 64c02a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: dotnet restore "${{ env.sln-path }}"

- name: Build debug
run: dotnet build "${{ env.sln-path }}" --no-restore
run: dotnet build "${{ env.sln-path }}" --no-restore -c Debug

- name: Test
run: dotnet test "${{ env.sln-path }}" --no-build --logger "trx;LogFileName=test-results.trx" || true
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: dotnet restore "${{ env.sln-path }}"

- name: Build release
run: dotnet build "${{ env.sln-path }}" --no-restore -o "${{ env.build-dir }}"
run: dotnet build "${{ env.sln-path }}" --no-restore -c Release -o "${{ env.build-dir }}"

- name: Upload artifact - binaries
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 64c02a4

Please sign in to comment.