Skip to content

Commit 67dfd37

Browse files
authored
Return non-zero of request failure (#1147)
1 parent dfd1afc commit 67dfd37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/trigger-js-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
UNITSNET_JS_WORKFLOW_TOKEN: ${{ secrets.UNITSNET_JS_WORKFLOW_TOKEN }}
1414
run: |
1515
# Trigger dispatches event to rebuild unitsnet-js package
16-
curl --location --request POST 'https://api.github.com/repos/haimkastner/unitsnet-js/actions/workflows/nodejs.yml/dispatches' \
16+
curl --fail --location --request POST 'https://api.github.com/repos/haimkastner/unitsnet-js/actions/workflows/nodejs.yml/dispatches' \
1717
--header 'Accept: application/vnd.github.everest-preview+json' \
1818
--header 'Content-Type: application/json' \
1919
--header "Authorization: Basic $UNITSNET_JS_WORKFLOW_TOKEN" \

0 commit comments

Comments
 (0)