Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Attest Build Provenance step #3846

Merged
merged 11 commits into from
Jun 6, 2024
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
Linux:
runs-on: ubuntu-latest
permissions:
contents: write # required for submitting a dependency graph
contents: write # required for submitting a dependency graph
attestations: write # required for build provenance attestation
id-token: write # required for build provenance attestation
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -42,6 +44,12 @@ jobs:
build \
jacocoRootReport \
prepareDocsForUploadToGhPages
- name: Generate build provenance attestations
uses: actions/attest-build-provenance@49df96e17e918a15956db358890b08e61c704919 # v1.2.0
with:
subject-path: |
'junit-jupiter/build/libs/junit-jupiter-*-SNAPSHOT.jar'
'junit-jupiter-api/build/libs/junit-jupiter-api-*-SNAPSHOT.jar'
sormuras marked this conversation as resolved.
Show resolved Hide resolved
- name: Upload to Codecov.io
uses: codecov/codecov-action@v4
with:
Expand Down
Loading