From f185ef408d8e6c9e44ead2bd3bd7bdb81d838c59 Mon Sep 17 00:00:00 2001 From: Meliox Date: Sun, 7 Jun 2026 16:37:14 +0200 Subject: [PATCH] use short git id for test builds --- .github/workflows/test-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index d49bc52..09bf8dd 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -37,13 +37,16 @@ jobs: dpkg-deb --contents ../*.deb - name: Collect deb artifacts + id: collect run: | mkdir -p artifacts cp ../*.deb artifacts/ + SHORT_SHA=$(git rev-parse --short HEAD) + echo "short_sha=$SHORT_SHA" >> "$GITHUB_OUTPUT" - name: Upload deb as artifact uses: actions/upload-artifact@v4 with: - name: pvemod-test-build-${{ github.sha }} + name: pvemod-test-build-${{ steps.collect.outputs.short_sha }} path: artifacts/*.deb retention-days: 3 \ No newline at end of file