Skip to content

Commit

Permalink
Adds attestation build step
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelstolt committed Jun 26, 2024
1 parent addae08 commit 3cebb6c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ on:
- 'v*'

jobs:
tests:
build:
name: distribute
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read
attestations: write

strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -43,3 +48,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/lean-package-validator.phar

- name: Create attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: '${{ github.workspace }}/bin/lean-package-validate.phar'

0 comments on commit 3cebb6c

Please sign in to comment.