Skip to content

Commit defb3c9

Browse files
authored
Merge pull request #243 from fsprojects/fix-propagating-errorlevel-ghaction
Fix propagating `%ERRORLEVEL%` in cases where `build.cmd` fails
2 parents 953f218 + 44abf20 commit defb3c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
uses: actions/setup-dotnet@v4
2121
# build it, test it, pack it, publish it
2222
- name: Run dotnet build (release, for nuget)
23-
# see issue #105
23+
# see issue #105 and #243
2424
# very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble
25+
shell: cmd
2526
run: ./build.cmd
2627
- name: Nuget publish
2728
# skip-duplicate ensures that the 409 error received when the package was already published,

0 commit comments

Comments
 (0)