gradle / actions

A collection of GitHub Actions to accelerate your Gradle Builds on GitHub
https://github.com/marketplace/actions/build-with-gradle
MIT License
163 stars 41 forks source link

Support `runs-on/cache` (https://github.com/runs-on/cache) #279

Open 5V715 opened 4 months ago

5V715 commented 4 months ago

not sure if the setup-gradle action is using action/cache but i guess not. would using https://github.com/runs-on/cache still work to move away from the github cache storage. if not consider this a request to support other storage backend 🙇

thanks for the great work

bigdaz commented 4 months ago

The setup-gradle action uses the NPM library that backs actions/cache. I'm not familiar with runs-on/cache: does it provide an equivalent API to save/restore from the cache?

This request is similar to #25, which requests support for BuildJet cache.

5V715 commented 4 months ago

The setup-gradle action uses the NPM library that backs actions/cache. I'm not familiar with runs-on/cache: does it provide an equivalent API to save/restore from the cache?

This request is similar to #25, which requests support for BuildJet cache.

i know to little about nodejs but this sure looks like using the defined actions/cache stuff - hope that helps

bigdaz commented 3 months ago

I asked here, but there doesn't appear to be a published library for using runs-on/cache.