Skip to content

Commit

Permalink
add debug cat
Browse files Browse the repository at this point in the history
  • Loading branch information
AEnguerrand committed Dec 4, 2024
1 parent dd87e11 commit 026c71f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/slsa-generator-nodejs-custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ jobs:
BUILD_INVOCATION_ID: ${{ github.run_id }}-${{ github.run_attempt }}
run: |
bash ./.github/workflows/slsa-github-generator-nodejs-predicate.sh
cat predicate.json
- name: Generate the SLSA layout
env:
SLSA_OUTPUTS_ARTIFACTS_FILE: artifacts-layout.json
Expand All @@ -84,7 +83,6 @@ jobs:
payload-type: application/vnd.in-toto+json
attestations: attestations
output-folder: attestations-signed
- run: ls -Rl
- name: Scan to find the attestation signed from the signed folder
id: scan-attestations-signed
run: |
Expand All @@ -94,6 +92,11 @@ jobs:
exit 1
fi
echo "ATTESTATION_SIGNED_PATH=${ATTESTATION_SIGNED_PATH}" >> $GITHUB_OUTPUT
- name: Debug
run: |
cat predicate.json
cat artifacts-layout.json
cat ${{ steps.scan-attestations-signed.outputs.ATTESTATION_SIGNED_PATH }}
- name: Upload to npmjs.com
env:
TARBALL_PATH: ${{ steps.package-details.outputs.PACKAGE_FILENAME }}
Expand Down

0 comments on commit 026c71f

Please sign in to comment.