Skip to content

Commit

Permalink
Add extra_materials to example workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
  • Loading branch information
pieterlexis committed Nov 9, 2021
1 parent 2377f4c commit 7267549
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/example-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,16 @@ jobs:
- name: Download build artifact
uses: actions/download-artifact@v2

- name: Generate some extra materials (this usually happens as part of the build process)
run: |
echo '[{"uri": "pkg:deb/debian/stunnel4@5.50-3?arch=amd64", "digest": {"sha256": "e1731ae217fcbc64d4c00d707dcead45c828c5f762bcf8cc56d87de511e096fa"}}]' > extra-materials.json
- name: Generate provenance
# use action in the root directory
uses: ./
with:
artifact_path: artifact/
extra_materials: extra-materials.json

- name: Upload provenance
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 7267549

Please sign in to comment.