From 5cb73a1f1a3684e918a0d1905c04e1381a2ae0cd Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Sat, 5 Oct 2024 16:44:41 +0200 Subject: [PATCH] fix github workflow v2 Signed-off-by: Morten Linderud --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1c678d..5eb9e7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: - name: Upload workflow artifacts uses: actions/upload-artifact@v4 with: - name: ssh-tpm-agent-binaries + name: ssh-tpm-agent-binaries-${{ matrix.GOOS }}-${{ matrix.GOARCH }} path: ssh-tpm-agent-* upload: name: Upload release binaries @@ -55,9 +55,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Download workflow artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: - name: ssh-tpm-agent-binaries + name: ssh-tpm-agent-binaries-* + merge-multiple: true - name: Upload release artifacts run: gh release upload "$GITHUB_REF_NAME" ssh-tpm-agent-* env: