Add commit hash to artifact name
All checks were successful
Galvanic Corrosion Cross-Compile / build (push) Successful in 2m1s
All checks were successful
Galvanic Corrosion Cross-Compile / build (push) Successful in 2m1s
This commit is contained in:
@@ -22,9 +22,14 @@ jobs:
|
||||
run: |
|
||||
deno run cross-compile
|
||||
|
||||
- name: Get short commit hash
|
||||
id: get_hash
|
||||
run: echo "HASH=$(git rev-parse --short=12 HEAD)" >> $GITHUB_ENV
|
||||
|
||||
- name: Upload builds
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: GC binaries
|
||||
path: build/*
|
||||
name: GalvanicCorrosion-${{ env.HASH }}
|
||||
path: |
|
||||
build/*
|
||||
retention-days: 30
|
||||
Reference in New Issue
Block a user