From da4b9d612bb23af187ad65222a5674b2584a01db Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 7 Apr 2022 17:30:56 -0500 Subject: [PATCH] Switch to full hash in update workflow Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- .github/workflows/update.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 29c830d..da12f18 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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 }}