From 80321ff31797d70bfba44490318872daba0f0741 Mon Sep 17 00:00:00 2001 From: icex2 Date: Sun, 15 Aug 2021 14:09:44 +0200 Subject: [PATCH] wip --- .github/workflows/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 45798f2..92e9144 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,8 +43,9 @@ jobs: - name: "Upload artifact" uses: "actions/upload-artifact@v2" with: - name: "pumptools-${{ github.ref }}" + name: pumptools-${{ github.sha }} retention-days: 30 + if-no-files-found: "error" path: | artifact/** @@ -55,13 +56,13 @@ jobs: - name: "Download artifact" uses: "actions/download-artifact@v2" with: - name: "pumptools-${{ github.ref }}" + name: pumptools-${{ github.sha }} - name: "Extract artifact" run: | mkdir artifact cd artifact - unzip ../pumptools-${{ github.ref }}.zip + unzip ../pumptools-${{ github.sha }}.zip cd .. - name: "Publish release" @@ -70,6 +71,6 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: "latest" prerelease: true - title: "master ${{ github.ref }}" + title: master ${{ github.sha }} files: | artifact/**