From c077bfef0d5c6b9d4fc04b58828541db787592be Mon Sep 17 00:00:00 2001 From: John Kjell Date: Thu, 5 Dec 2024 11:35:54 -0600 Subject: [PATCH] Use /usr/local/bin for witness install (#531) Signed-off-by: John Kjell --- .github/workflows/release.yml | 1 + .github/workflows/witness.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2cb3a83b..be7316d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -133,6 +133,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }} with: + witness-install-dir: /usr/local/bin step: "build" attestations: "github" command: goreleaser release --clean diff --git a/.github/workflows/witness.yml b/.github/workflows/witness.yml index f164af59..1449963f 100644 --- a/.github/workflows/witness.yml +++ b/.github/workflows/witness.yml @@ -64,6 +64,7 @@ jobs: - if: ${{ inputs.pre-command != '' && inputs.pull_request == false }} uses: testifysec/witness-run-action@79320a907f611f2fb40ced8e13c66af988b2d9db with: + witness-install-dir: /usr/local/bin step: pre-${{ inputs.step }} attestations: ${{ inputs.attestations }} command: /bin/sh -c "${{ inputs.pre-command }}" @@ -73,6 +74,7 @@ jobs: - if: ${{ inputs.pull_request == false }} uses: testifysec/witness-run-action@79320a907f611f2fb40ced8e13c66af988b2d9db with: + witness-install-dir: /usr/local/bin step: ${{ inputs.step }} attestations: ${{ inputs.attestations }} command: /bin/sh -c "${{ inputs.command }}"