From 1dd1551d0674e47fbcc98d1b954883696a246b0b Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Sat, 29 Jun 2024 20:46:11 +0900 Subject: [PATCH] fix the order of attest-build-provenance step --- .github/workflows/linux.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6e6a3101c..d949230ef 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -164,10 +164,6 @@ jobs: run: ../../bin/carton install --deployment working-directory: ./scripts/linux - - uses: actions/attest-build-provenance@v1 - with: - subject-path: ${{ runner.temp }}/perl.tar.zstd - - name: build shell: bash run: perl build.pl @@ -175,6 +171,10 @@ jobs: PERL5LIB: ${{ github.workspace }}/scripts/linux/local/lib/perl5 working-directory: ./scripts/linux + - uses: actions/attest-build-provenance@v1 + with: + subject-path: ${{ runner.temp }}/perl.tar.zstd + - name: upload run: | ACTIONS_VERSION=v$(<"$GITHUB_WORKSPACE/package.json" jq -r .version)