Created
December 3, 2021 04:20
-
-
Save shafayathossain/9c562be74027532231d84523a16c527b to your computer and use it in GitHub Desktop.
Step to cache Ruby dependencies and Gradle packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Cache Ruby dependencies | |
uses: actions/cache@v2 | |
with: | |
path: 'vendor/bundle' | |
key: ${{ runner.os }}-gems-${{ secrets.GEMS_CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- name: Cache Gradle packages | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment