mknejp / delete-release-assets Goto Github PK
View Code? Open in Web Editor NEWGitHub action for deleting assets from a GitHub release.
License: MIT License
GitHub action for deleting assets from a GitHub release.
License: MIT License
I use this action on my latest project(manjaro-removed-pkgs).
I've run into some failures with this message: "Error: At least one file name or pattern must be specified."
The actions on my project are very conditional. Circumstances are not exactly the same from build to build. I attempted to remedy this failure with an if statement based upon the contents of a file, but there are conditions (such as when brand new packages not previously seen on the repo are released) that still force the failure.
Would it be possible to add a "fail-if-not-specified" option?
In the mean time, I have thought of a temporary workaround. In my case, I could add a line with the word "placeholder" to the text file that lists files that need to be removed. This would work with the currently existing fail-if-no-assets option.
thanks for this github action. I am using it in https://github.com/chrislusf/seaweedfs/actions/workflows/cleanup.yml
It has been running fine until 3 days ago. e.g., https://github.com/chrislusf/seaweedfs/runs/2403198476
Any clue how to fix it?
This action recently started failing with:
Run mknejp/delete-release-assets@v1
with:
token: ***
repository: f3d-app/f3d
tag: nightly
assets: F3D-*-Linux-x86_64-raytracing.*
fail-if-no-assets: false
fail-if-no-release: true
env:
DISPLAY: :0
SCCACHE_CACHE: /github/home/.cache/sccache
DATE_STRING: 20240203
VTK_COMMIT_SHA: a4cb9c6c90c18a31e225aa4a18df6a591bf8cd3b
/usr/bin/docker exec ec29d43071e28ef8b65c453255b8290a6e76cc20a40b1c222b2765503c688d81 sh -c "cat /etc/*release | grep ^ID"
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
I suspect some kind of API change happened as it can detect, but not delete assets:
Run mknejp/delete-release-assets@v1
Looking for release with tag 'monthly'...
Found release 'IP2Location™ LITE IP-COUNTRY Database' with 1 assets.
45201674 'IP2LOCATION-LITE-DB1.IPV6.BIN.1.ZIP'
matching against:
'IP2LOCATION-LITE-DB1.IPV6.BIN.1.ZIP'
delete matching assets:
45201674 'IP2LOCATION-LITE-DB1.IPV6.BIN.1.ZIP'
Error: Not Found
https://github.com/OpenRA/GeoIP-Database/runs/3652409047?check_suite_focus=true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.