forked from mirrors/kingfisher
fixed github actions
This commit is contained in:
parent
8da61ab553
commit
49d980acb0
2 changed files with 8 additions and 2 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -438,7 +438,13 @@ jobs:
|
|||
run: |
|
||||
set -euo pipefail
|
||||
cd assets
|
||||
echo "hashes=$(sha256sum -- * | base64 -w0)" >> "$GITHUB_OUTPUT"
|
||||
shopt -s nullglob
|
||||
files=( * )
|
||||
if [ ${#files[@]} -eq 0 ]; then
|
||||
echo "Error: no release assets found to hash in $(pwd)" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "hashes=$(sha256sum -- "${files[@]}" | base64 -w0)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
provenance:
|
||||
name: Generate SLSA provenance
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ rules:
|
|||
method: GET
|
||||
url: https://api.etsy.com/v3/application/openapi-ping
|
||||
headers:
|
||||
x-api-key: '{{ TOKEN }}'
|
||||
x-api-key: '{{ TOKEN | split: ":" | first }}'
|
||||
Accept: application/json
|
||||
response_matcher:
|
||||
- report_response: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue