Skip to content

Commit

Permalink
Add provenance to Github build
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaninjas authored Jan 12, 2024
1 parent bf915a7 commit b3e54bb
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ on:
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
build:

permissions:
id-token: write
contents: read
actions: read
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -51,7 +51,12 @@ jobs:
run: gpg --detach-sign -a ./build/libs/*.jar
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}


- name: Generate provenance information
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
artifact-list: ./build/libs/*.jar

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
Expand Down

0 comments on commit b3e54bb

Please sign in to comment.