Help caching a file downloaded from a website #825
-
Hello, My GitHub Actions workflow requires as an input a file downloaded from a website in order to run. Instead of downloading the file each time the action is triggered, I would like to use actions/cache to cache the file. Currently, my .yml file looks like this:
The caching of the file (fileName.xxx) does not seem to work. Whenever the Action is triggered, the cache hit results in a miss and the file is downloaded using wget. I'm wondering if my syntax is incorrect, or if I'm not using the cache key correctly? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The steps seem okay but not sure about the |
Beta Was this translation helpful? Give feedback.
The steps seem okay but not sure about the
.
and'
in the key. can you try with${{ runner.os }}-java-fileName-xxx