Skip to content

Commit 2000f7f

Browse files
committed
fixes
1 parent 6cb7d63 commit 2000f7f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,16 @@ jobs:
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

0 commit comments

Comments
 (0)