Code Monkey home page Code Monkey logo

Comments (5)

kolpav avatar kolpav commented on July 27, 2024 3

@lelegard Take a look at my https://github.com/kolpav/purge-artifacts-action . I already shared the link in few places but I feel it could help more people by also sharing it here judging by number of +1.

from upload-artifact.

ahdbilal avatar ahdbilal commented on July 27, 2024 1

You can now change artifact and log retention duration either through Actions Settings tab or via YAML. You can learn more about this feature here. Feedback is welcome!

from upload-artifact.

konradpabjan avatar konradpabjan commented on July 27, 2024

Thanks for the suggestion @lelegard!

I think it would be really cool to have an input that allows you to specify the retention duration. Lots of different uses cases that this could help support.

Pretty similar to the following issue (keeping both open): #34

from upload-artifact.

lelegard avatar lelegard commented on July 27, 2024

Thanks a lot @ahdbilal. This is exactly what I was looking for. I just added retention-days: 5 to all artifacts in my nightly build workflow. In 6 days from now, I will be able to check if the next nightly build disappears.

from upload-artifact.

lelegard avatar lelegard commented on July 27, 2024

Hi @ahdbilal

After 6 days, the nightly build action now displays "The following artifacts have expired and are no longer able to be downloaded". The list of artifacts is still present but the artifact names are greyed and have no link.

We can close this one. Thanks for having implemented this.

from upload-artifact.

Related Issues (20)

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.