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 860801d commit 9ec34eaCopy full SHA for 9ec34ea
1 file changed
.github/workflows/deploy.yml
@@ -115,4 +115,13 @@ jobs:
115
else
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
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' \
127
+ | xargs -I {} gh api -X DELETE repos/originlab/originlab.github.io/artifacts/{}
0 commit comments