Browse Source

Shorten line to address yamllint warning

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

10
.github/workflows/tests.yml

@ -508,12 +508,12 @@ jobs:
# We build a workaround # We build a workaround
- name: Get Tag Type - name: Get Tag Type
run: | run: |
if git cat-file tag $GITHUB_REF; then TAGTYPE=tag; else TAGTYPE=commit; fi if git cat-file tag $GITHUB_REF; then TYPE=tag; else TYPE=commit; fi
echo "::set-output name=TAGTYPE::$TAGTYPE" echo "::set-output name=TAGTYPE::$TYPE"
echo ================Debug echo ================Debug
echo REF=$GITHUB_REF echo REF=$GITHUB_REF
echo TAGTYPE=$TAGTYPE echo TAGTYPE=$TYPE
echo ================ echo ================
echo git for-each-ref refs/tags echo git for-each-ref refs/tags
git for-each-ref refs/tags git for-each-ref refs/tags
@ -521,8 +521,8 @@ jobs:
echo git for-each-ref refs/heads echo git for-each-ref refs/heads
git for-each-ref refs/heads git for-each-ref refs/heads
echo ================ echo ================
echo git cat-file $TAGTYPE $GITHUB_REF echo git cat-file $TYPE $GITHUB_REF
git cat-file $TAGTYPE $GITHUB_REF git cat-file $TYPE $GITHUB_REF
echo ================ echo ================
- name: Fetch all Artifacts - name: Fetch all Artifacts

Loading…
Cancel
Save