Switch to full hash in update workflow

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2022-04-07 17:30:56 -05:00
parent fe8b8dab5c
commit da4b9d612b
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -31,9 +31,10 @@ jobs:
commit_message: "[⚡ AUTOMATED]: Pkg upgrade for ${{ steps.time.outputs.time }}"
- id: hash
run: |
echo "::set-output name=hash::$(git rev-parse --short HEAD)"
echo "::set-output name=short_hash::$(git rev-parse --short HEAD)"
echo "::set-output name=long_hash::$(git rev-parse HEAD)"
- uses: mathieudutour/github-tag-action@v6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_sha: ${{ steps.hash.outputs.hash }}
custom_tag: ${{ steps.julia_ver.outputs.version }}-${{ steps.hash.outputs.hash }}
commit_sha: ${{ steps.hash.outputs.long_hash }}
custom_tag: ${{ steps.julia_ver.outputs.version }}-${{ steps.hash.outputs.short_hash }}