Skip to content

Commit

Permalink
Merge pull request #243 from fsprojects/fix-propagating-errorlevel-gh…
Browse files Browse the repository at this point in the history
…action

Fix propagating `%ERRORLEVEL%` in cases where `build.cmd` fails
  • Loading branch information
abelbraaksma authored Mar 17, 2024
2 parents 953f218 + 44abf20 commit defb3c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
uses: actions/setup-dotnet@v4
# build it, test it, pack it, publish it
- name: Run dotnet build (release, for nuget)
# see issue #105
# see issue #105 and #243
# very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble
shell: cmd
run: ./build.cmd
- name: Nuget publish
# skip-duplicate ensures that the 409 error received when the package was already published,
Expand Down

0 comments on commit defb3c9

Please sign in to comment.