more tests

This commit is contained in:
snus xD
2025-08-21 20:42:21 +03:00
parent bb9dd8e719
commit ce8bb0caa1

View File

@@ -71,3 +71,22 @@ jobs:
run: |
rm -rf ./_sprites/sorted
rm -rf ./_sprites/sorted-merged
- name: Delete Old Artifacts
uses: actions/github-script@v6
id: artifact
with:
script: |
const res = await github.rest.actions.listArtifactsForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
})
res.data.artifacts
.forEach(({ id }) => {
github.rest.actions.deleteArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: id,
})
})