We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec34ea commit 708bcefCopy full SHA for 708bcef
1 file changed
.github/workflows/deploy.yml
@@ -116,12 +116,8 @@ jobs:
116
"| \(.name) | \((.size_in_bytes/1024/1024*10|round)/10) MB |"
117
end' >> "$GITHUB_STEP_SUMMARY"
118
119
- cleanup:
120
- needs: get_result
121
- runs-on: ubuntu-slim
122
- steps:
123
- - name: Delete run_id-* artifacts
+ - name: Clean up
124
run: |
125
gh api repos/originlab/originlab.github.io/actions/runs/$GITHUB_RUN_ID/artifacts \
126
- -q '.artifacts[] | select(.name | startswith("run_id-")) | .id' \
+ -q --arg target "run_id-${{ matrix.site }}" '.artifacts[] | select(.name == $target) | .id' \
127
| xargs -I {} gh api -X DELETE repos/originlab/originlab.github.io/artifacts/{}
0 commit comments