diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08aee394..a9559edd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,23 +70,6 @@ jobs: args: --target i686-unknown-linux-gnu --release --package auxmos --lib -- generate_binds --exact --show-output if: matrix.os == 'ubuntu-20.04' - - name: Generate build provenance (Binaries) - uses: actions/attest-build-provenance@v1 - with: - subject-path: target/${{ matrix.target_name }}/release/${{ matrix.artifact_name }} - - - name: Generate build provenance (Debug information) - uses: actions/attest-build-provenance@v1 - with: - subject-path: target/${{ matrix.target_name }}/release/${{ matrix.debug_pdb_name }} - if: matrix.os == 'windows-latest' - - - name: Generate build provenance (Bindings) - uses: actions/attest-build-provenance@v1 - with: - subject-path: bindings.dm - if: matrix.os == 'ubuntu-20.04' - - name: Upload binary to release uses: svenstaro/upload-release-action@v1-release with: @@ -112,3 +95,20 @@ jobs: asset_name: bindings.dm tag: ${{ github.ref }} if: matrix.os == 'ubuntu-20.04' + + - name: Generate build provenance (Binaries) + uses: actions/attest-build-provenance@v1 + with: + subject-path: target/${{ matrix.target_name }}/release/${{ matrix.artifact_name }} + + - name: Generate build provenance (Debug information) + uses: actions/attest-build-provenance@v1 + with: + subject-path: target/${{ matrix.target_name }}/release/${{ matrix.debug_pdb_name }} + if: matrix.os == 'windows-latest' + + - name: Generate build provenance (Bindings) + uses: actions/attest-build-provenance@v1 + with: + subject-path: bindings.dm + if: matrix.os == 'ubuntu-20.04'