It's important to set a key so that the action will try to restore the cache files based on that key. In the example, I'm caching all the dependency jars. Considering jobs on hosted GitHub runners start in a clean virtual environment, we want to save time so that dependencies don't need to be downloaded each time a job is ran.In the example, we set up the JDK version and with settings-path, we specify the location for the settings.xml file. The with key allow us to specify the variables that will be available to the action.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |