Getting closer, it clearly showed the upstream had a different view than this checkout

This commit is contained in:
Hamish Coleman 2021-10-31 16:53:49 +00:00
parent 71021abd97
commit 6395aa4fbc

View File

@ -496,8 +496,6 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
# There is something strange with the github runners
# normally, `git for-each-ref refs/tags` will show annotated tags
@ -514,7 +512,7 @@ jobs:
# We try to build a workaround
- name: Get Tag Type
run: |
git pull --tags
git pull --tags --force
if git cat-file tag $GITHUB_REF; then TYPE=tag; else TYPE=commit; fi
echo "::set-output name=TAGTYPE::$TYPE"