Skip to content

Commit 0869642

Browse files
committed
publish build attestations for the entitlements-app gem
1 parent 8901ab4 commit 0869642

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
permissions:
1212
contents: write
1313
packages: write
14+
id-token: write
15+
attestations: write
1416

1517
jobs:
1618
release:
@@ -39,6 +41,10 @@ jobs:
3941
# builds the gem and saves the version to GITHUB_ENV
4042
- name: build
4143
run: echo "GEM_VERSION=$(gem build ${{ env.GEM_NAME }}.gemspec 2>&1 | grep Version | cut -d':' -f 2 | tr -d " \t\n\r")" >> $GITHUB_ENV
44+
45+
- uses: actions/attest-build-provenance@v1
46+
with:
47+
subject-path: "${{ env.GEM_NAME }}-${{ env.GEM_VERSION }}.gem"
4248

4349
- name: publish to GitHub packages
4450
run: |

0 commit comments

Comments
 (0)