We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db46b79 commit 9d1f3d7Copy full SHA for 9d1f3d7
.github/workflows/release.yaml
@@ -25,6 +25,11 @@ jobs:
25
name: cargo build
26
runs-on: ${{ matrix.os }}
27
28
+ permissions:
29
+ id-token: write
30
+ contents: read
31
+ attestations: write
32
+
33
steps:
34
- uses: actions/checkout@v4
35
- uses: dtolnay/rust-toolchain@stable
@@ -39,6 +44,11 @@ jobs:
39
44
40
45
- run: cp target/${{ matrix.target }}/release/${{ matrix.bin }} ${{ matrix.bin }}
41
46
47
+ - name: Attest
48
+ uses: actions/attest-build-provenance@v1
49
+ with:
50
+ subject-path: '${{ github.workspace }}/${{ matrix.bin }}'
51
42
52
- if: matrix.os == 'windows-latest'
43
53
run: |
54
7z a "${{ matrix.target}}.${{ matrix.suffix }}" ${{ matrix.bin }}
0 commit comments