Skip to content

Commit e2d2499

Browse files
committed
Use another syntax.
1 parent 8c80b08 commit e2d2499

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,5 @@ jobs:
119119
- name: Clean up
120120
run: |
121121
gh api repos/originlab/originlab.github.io/actions/runs/$GITHUB_RUN_ID/artifacts \
122-
-q --arg target "run_id-${{ matrix.site }}" '.artifacts[] | select(.name == $target) | .id' \
122+
-q ".artifacts[] | select(.name == \"run_id-${{ matrix.site }}\") | .id" \
123123
| xargs -I {} gh api --method DELETE repos/originlab/originlab.github.io/artifacts/{}

0 commit comments

Comments
 (0)