From 026c71fa26256c98687df619a42df7f57ebf2ff5 Mon Sep 17 00:00:00 2001 From: Enguerrand Allamel Date: Wed, 4 Dec 2024 16:15:12 +0100 Subject: [PATCH] add debug cat --- .github/workflows/slsa-generator-nodejs-custom.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/slsa-generator-nodejs-custom.yaml b/.github/workflows/slsa-generator-nodejs-custom.yaml index 7392feb..9719261 100644 --- a/.github/workflows/slsa-generator-nodejs-custom.yaml +++ b/.github/workflows/slsa-generator-nodejs-custom.yaml @@ -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 @@ -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: | @@ -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 }}