diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c610535..aee094e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,9 +97,11 @@ jobs: cat Changes-latest id: extract - name: Generate artifact attestation + id: attestation uses: actions/attest-build-provenance@v1 with: - subject-path: "*.tar.gz" + subject-path: ${{ env.ASSET_NAME }} + subject-name: ${{ env.ASSET_NAME }} - name: upload uses: softprops/action-gh-release@v1 with: @@ -107,5 +109,7 @@ jobs: draft: false prerelease: false name: ${{ steps.version.outputs.name }} - files: "*.tar.gz" + files: | + ${{ env.ASSET_NAME }} + ${{ steps.attestation,outputs.bundle-path }} token: ${{ secrets.RELEASE_ACTION_TOKEN }}