Skip to content

Commit

Permalink
👷 (ci): Cache gems for release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Nov 7, 2024
1 parent 2ce7467 commit 12a4650
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci-fastlane-release_app_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,16 @@ jobs:
run: |
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.name }}-${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.name }}-${{ runner.os }}-gems-
- name: bundle install
run: |
bundle config path vendor/bundle
bundle install
- name: tuist install
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/ci-fastlane-release_beta_internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,16 @@ jobs:
run: |
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.name }}-${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.name }}-${{ runner.os }}-gems-
- name: bundle install
run: |
bundle config path vendor/bundle
bundle install
- name: tuist install
Expand Down

0 comments on commit 12a4650

Please sign in to comment.