Fix tagtype logic, shell quotes need to be correct for shell vars

This commit is contained in:
Hamish Coleman 2021-10-31 14:40:05 +00:00
parent ecff46a043
commit 0929185d04

View File

@ -498,7 +498,9 @@ jobs:
steps:
- name: Get Tag Type
run: |
echo '::set-output name=TAGTYPE::$(git cat-file -t $GITHUB_REF)'
TAGTYPE=$(git cat-file -t $GITHUB_REF)
echo TAGTYPE=$TAGTYPE
echo "::set-output name=TAGTYPE::$TAGTYPE"
- name: Fetch all Artifacts
if: steps.get_tagtype.outputs.TAGTYPE == 'tag'