Git Product home page Git Product logo

delete-release-assets's People

Contributors

asfernandes avatar bsteffaniak avatar dependabot[bot] avatar jasongdove avatar mknejp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

delete-release-assets's Issues

[Request] Option to prevent failure if no file is specified

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.

Started failing with a glibc error

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)

Error: Not Found

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.