felixmosh / turborepo-gh-artifacts

A TurboRepo local cache server which uploads artifact cache to GH artifacts.
MIT License
122 stars 7 forks source link

Add check for `expires_at` of artifact before using it. #13

Closed felixmosh closed 2 years ago

felixmosh commented 2 years ago

Artifacts may be expired, this means that when the server will try to download it, it will fail due to empty file.

example https://api.github.com/repos/felixmosh/turborepo-gh-artifacts-example/actions/artifacts