From 15de68a95aea2e582fb2613ed0d1d4bb7f346644 Mon Sep 17 00:00:00 2001 From: KTrain <69028025+KTrain5169@users.noreply.github.com> Date: Sat, 26 Oct 2024 12:28:23 +1000 Subject: [PATCH] Append SHA to each build workflow's artifact upload step (#56) --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc4a608..f728ceb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: Checkout ref uses: actions/checkout@v4 with: - fetch-depth: 2 + ref: ${{ github.sha }} - name: Setup Python uses: actions/setup-python@v5 @@ -44,11 +44,11 @@ jobs: - name: Upload Builds uses: actions/upload-artifact@v4 with: - name: ${{ matrix.os }} build + name: ${{ matrix.os }} build at ${{ github.sha }} path: build/ - name: Upload Dists uses: actions/upload-artifact@v4 with: - name: ${{ matrix.os }} dist + name: ${{ matrix.os }} dist at ${{ github.sha }} path: dist/