Skip to content

Commit

Permalink
Add mock build
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsbinder committed May 8, 2024
1 parent 202a2b1 commit 83af0bd
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/provenance3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ jobs:
echo "${{ steps.parse-build-config.outputs.package-name }}"
echo "${{ steps.builder-digest.outputs.builder-digest }}"
- name: Pretend build
id: pretend
run: |
set -o errexit
set -o nounset
set -o xtrace
set -o pipefail
echo "whatever" >> {{ steps.parse-build-config.outputs.artifact-path }}
generate_provenance:
needs: [get_inputs]
permissions:
Expand All @@ -75,9 +66,19 @@ jobs:
runs-on: ubuntu-20.04

steps:
- name: Print subject path
- name: Pretend build
id: pretend
run: |
set -o errexit
set -o nounset
set -o xtrace
set -o pipefail
echo whatever > "${{ needs.get_inputs.outputs.artifact-path }}"
- name: Debug subject path
run: |
echo "${{ needs.get_inputs.outputs.artifact-path }}"
ls -la "${{ needs.get_inputs.outputs.artifact-path }}"
- name: Attest Build Provenance
uses: actions/[email protected]
Expand Down

0 comments on commit 83af0bd

Please sign in to comment.