File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 7474 REPO : ${{ github.event.repository.name }}
7575 ARTIFACT_PATH : " ."
7676 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
77- run : gh attestation verify "$ARTIFACT_PATH" --repo ${OWNER}/${REPO} --signer-workflow ${OWNER}/${REPO}/.github/workflows/release.yml
77+ run : |
78+ echo "Scanning for files in $ARTIFACT_PATH"
79+
80+ # Find all regular files in the artifact path recursively
81+ find "$ARTIFACT_PATH" -type f | while read -r file; do
82+ echo "Verifying file: $file"
83+
84+ # Log the command that will be executed
85+ echo "Executing command: gh attestation verify \"$file\" --repo ${OWNER}/${REPO} --signer-workflow ${OWNER}/${REPO}/.github/workflows/release.yml"
86+
87+ # Run the command
88+ gh attestation verify "$file" --repo ${OWNER}/${REPO} --signer-workflow ${OWNER}/${REPO}/.github/workflows/release.yml
89+ done
You can’t perform that action at this time.
0 commit comments