From 261c3a6985766a5e2f56ad7bd754e136be6a322d Mon Sep 17 00:00:00 2001 From: zombieb Date: Sun, 13 Apr 2025 01:54:08 -0400 Subject: [PATCH] Add commit hash to artifact name --- .gitea/workflows/cross-compile.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cross-compile.yaml b/.gitea/workflows/cross-compile.yaml index 1f36ed9..5ad4efb 100644 --- a/.gitea/workflows/cross-compile.yaml +++ b/.gitea/workflows/cross-compile.yaml @@ -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 \ No newline at end of file