Browse Source

Avoid exitcode triggering job failure

pull/883/head
Hamish Coleman 3 years ago
parent
commit
1adbdc9a00
  1. 3
      .github/workflows/tests.yml

3
.github/workflows/tests.yml

@ -508,8 +508,7 @@ jobs:
# We build a workaround # We build a workaround
- name: Get Tag Type - name: Get Tag Type
run: | run: |
git cat-file tag $GITHUB_REF if git cat-file tag $GITHUB_REF; then TAGTYPE=tag; else TAGTYPE=commit; fi
if $? -eq 0; then TAGTYPE=tag; else TAGTYPE=commit; fi
echo "::set-output name=TAGTYPE::$TAGTYPE" echo "::set-output name=TAGTYPE::$TAGTYPE"
echo ================Debug echo ================Debug

Loading…
Cancel
Save