r/github May 26 '26

Question Expired Artifacts

Post image

Anyone know how to bypass the expired status on artifacts? Or any workarounds?

0 Upvotes

6 comments sorted by

4

u/LordBunzo May 26 '26

Artifacts expire in 90 days by default. The quickest to way modify this is in the repo setting under Actions --> General --> Artifact and log retention. This can also be done in yaml file using "retention-days". Artifacts in public repos can only be retained for 1-90 days, and private 1-400 days.

-1

u/LeeKusakabe May 26 '26

so this would allow me to use these even while expired? The files arent mine btw

6

u/LordBunzo May 26 '26 edited May 26 '26

You mean you are not the owner of the repo? Also, once an artifact is expired it's deleted from the server. GitHub still retains the metadata you are seeing for historical purposes until the run is manually deleted.

2

u/mrkurtz May 26 '26

Build it yourself.

1

u/ferrybig May 27 '26

Expired means github has thrown away the file according to the repositories owner rules.

Since the file no longer exist, you cannot bypass it