diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml index 1592569fe..c05065546 100644 --- a/.github/workflows/static.yaml +++ b/.github/workflows/static.yaml @@ -185,7 +185,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - if: fromJson(needs.prepare.outputs.push) && (matrix.debug || matrix.mimalloc) && (needs.prepare.outputs.ref || github.ref_type == 'tag') - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 with: subject-path: ${{ github.workspace }}/frankenphp-linux-x86_64${{ matrix.debug && '-debug' || '' }}${{ matrix.mimalloc && '-mimalloc' || '' }} @@ -244,7 +244,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - if: needs.prepare.outputs.ref || github.ref_type == 'tag' - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 with: subject-path: ${{ github.workspace }}/frankenphp-linux-* @@ -291,7 +291,7 @@ jobs: NO_COMPRESS: ${{ github.event_name == 'pull_request' && '1' || '' }} - if: needs.prepare.outputs.ref || github.ref_type == 'tag' - uses: actions/attest-build-provenance@v1 + uses: actions/attest-build-provenance@v2 with: subject-path: ${{ github.workspace }}/dist/frankenphp-mac-* -