Skip to content

Commit 06623e6

Browse files
committed
CI: generate artifact attestations
1 parent a5b8c1b commit 06623e6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
tags:
66
- '[0-9]+.[0-9]+.[0-9]+'
77

8+
permissions:
9+
contents: write # for release creation and asset upload
10+
id-token: write # for artifact attestations
11+
attestations: write # for artifact attestations
12+
813
jobs:
914
publish:
1015
name: Publishing for ${{ matrix.job.os }}
@@ -87,6 +92,13 @@ jobs:
8792
env:
8893
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8994

95+
- name: Generating artifact attestations
96+
uses: actions/attest@v4
97+
with:
98+
subject-path: |
99+
delta-*-${{ matrix.job.target }}.*
100+
git-delta*.deb
101+
90102
publish-to-cargo:
91103
name: Publishing to Cargo
92104
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)