Skip to content

Commit

Permalink
wip: remove old artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Dec 30, 2023
1 parent c221d03 commit a7c1806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh api "/repos/${{ github.repository }}/actions/artifacts?name=build" | jq ".artifacts[] | select(.name == \"build\") | .id" > artifact-id-list.txt
gh api "/repos/${{ github.repository }}/actions/artifacts" | jq ".artifacts[] | .id" > artifact-id-list.txt
while read id
do
echo -n "Deleting artifact ID $id ... "
Expand Down

0 comments on commit a7c1806

Please sign in to comment.