Browse Source

Add more debug data, still trying to work out why github doesnt think tags are tags

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

13
.github/workflows/tests.yml

@ -502,10 +502,19 @@ jobs:
- name: Get Tag Type - name: Get Tag Type
run: | run: |
TAGTYPE=$(git cat-file -t $GITHUB_REF) TAGTYPE=$(git cat-file -t $GITHUB_REF)
echo TAGTYPE=$TAGTYPE echo "::set-output name=TAGTYPE::$TAGTYPE"
echo ================Debug
echo REF=$GITHUB_REF echo REF=$GITHUB_REF
echo TAGTYPE=$TAGTYPE
echo git for-each-ref refs/tags
git for-each-ref refs/tags git for-each-ref refs/tags
echo "::set-output name=TAGTYPE::$TAGTYPE" echo ================
echo git for-each-ref refs/heads
git for-each-ref refs/heads
echo ================
echo git cat-file $TAGTYPE $GITHUB_REF
git cat-file $TAGTYPE $GITHUB_REF
echo ================
- name: Fetch all Artifacts - name: Fetch all Artifacts
if: steps.get_tagtype.outputs.TAGTYPE == 'tag' if: steps.get_tagtype.outputs.TAGTYPE == 'tag'

Loading…
Cancel
Save