From 8d5283604c12d4a8405a8d5720b0e6f2ac5e2631 Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Sun, 19 Nov 2023 15:21:25 +0800 Subject: [PATCH] ci: add short sha to artifact --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a8f41be..70fe145c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,9 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - uses: benjlevesque/short-sha@v2.2 + id: short-sha + - name: Install dependencies run: | sudo snap install zig --classic --beta @@ -41,5 +44,5 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: alist + name: alist_${{ env.SHA }} path: dist \ No newline at end of file