From 606ed6ccb0d9a175b5f0650aac42c70fa2ed1bb0 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Mon, 6 Nov 2023 21:47:14 -0800 Subject: [PATCH] Download the artifact from this specific run to ensure we aren't getting outdated hishtory binaries --- .github/workflows/slsa-releaser.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/slsa-releaser.yml b/.github/workflows/slsa-releaser.yml index 21809f2..3c06291 100644 --- a/.github/workflows/slsa-releaser.yml +++ b/.github/workflows/slsa-releaser.yml @@ -128,8 +128,9 @@ jobs: MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }} run: | export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" - gh run download -n hishtory-darwin-amd64 - gh run download -n hishtory-darwin-arm64 + sleep 10 + gh run download ${{ github.run_id }} -n hishtory-darwin-amd64 + gh run download ${{ github.run_id }} -n hishtory-darwin-arm64 brew install coreutils python3 scripts/actions-sign.py - name: Upload Artifacts