debug
This commit is contained in:
parent
f0db90eb52
commit
5f271a7f83
1 changed files with 3 additions and 1 deletions
4
.github/workflows/release-macos.yml
vendored
4
.github/workflows/release-macos.yml
vendored
|
|
@ -13,7 +13,9 @@ jobs:
|
|||
run: |
|
||||
echo "Downloading latest artifacts..."
|
||||
ARTIFACT_URL="https://api.github.com/repos/YaoApp/yao/actions/artifacts"
|
||||
ARTIFACTS=$(curl -s -H "Accept: application/vnd.github.v3+json" $ARTIFACT_URL | jq -r '.artifacts[] | select(.name | contains("yao-macos")) | .id')
|
||||
ARTIFACT_CONTENT=$(curl -s -H "Accept: application/vnd.github.v3+json" $ARTIFACT_URL)
|
||||
echo $ARTIFACT_CONTENT
|
||||
ARTIFACTS=$(echo $ARTIFACT_CONTENT | jq -r '.artifacts[] | select(.name | contains("yao-macos")) | .id')
|
||||
for id in $ARTIFACTS; do
|
||||
echo "https://api.github.com/repos/YaoApp/yao/actions/artifacts/$id/zip"
|
||||
curl -L -H "Accept: application/vnd.github.v3+json" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue