mirror of
https://github.com/MillironX/docker-BioJulia.git
synced 2024-11-21 14:36:03 +00:00
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:
parent
fe8b8dab5c
commit
da4b9d612b
1 changed files with 4 additions and 3 deletions
7
.github/workflows/update.yml
vendored
7
.github/workflows/update.yml
vendored
|
@ -31,9 +31,10 @@ jobs:
|
||||||
commit_message: "[⚡ AUTOMATED]: Pkg upgrade for ${{ steps.time.outputs.time }}"
|
commit_message: "[⚡ AUTOMATED]: Pkg upgrade for ${{ steps.time.outputs.time }}"
|
||||||
- id: hash
|
- id: hash
|
||||||
run: |
|
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
|
- uses: mathieudutour/github-tag-action@v6.0
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit_sha: ${{ steps.hash.outputs.hash }}
|
commit_sha: ${{ steps.hash.outputs.long_hash }}
|
||||||
custom_tag: ${{ steps.julia_ver.outputs.version }}-${{ steps.hash.outputs.hash }}
|
custom_tag: ${{ steps.julia_ver.outputs.version }}-${{ steps.hash.outputs.short_hash }}
|
||||||
|
|
Loading…
Reference in a new issue