Attestation?
This commit is contained in:
parent
67f067f040
commit
b27e86e25a
1 changed files with 8 additions and 0 deletions
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
|
@ -11,6 +11,10 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
permissions:
|
||||
attestations: write
|
||||
contents: read
|
||||
id-token: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -20,6 +24,10 @@ jobs:
|
|||
run: cargo clippy
|
||||
- name: Build
|
||||
run: cargo build --release
|
||||
- name: Generate artifact attestation
|
||||
uses: actions/attest-build-provenance@v1.4.3
|
||||
with:
|
||||
subject-path: ./target/release/dpb
|
||||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v4.4.0
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue