Skip to content

Commit

Permalink
cache macOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Oct 11, 2024
1 parent 4d5775c commit 8a50e95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,16 @@ jobs:
BLOB_NAME: "binaries/rvm-${{ hashFiles('packaging/binaries/shared/definitions/ruby_versions') }}-${{ matrix.runner }}-${{ matrix.arch }}.tar.zstd"

- name: Install RVM
run: set -o pipefail && curl -fsSL https://get.rvm.io | bash
run: set -o pipefail && curl -fsSL https://get.rvm.io/stable | bash

- name: Install Rubies
run: xargs -I{} "$HOME/.rvm/bin/rvm" install ruby-{} < packaging/binaries/shared/definitions/ruby_versions
if: steps.fetch_rvm_cache.outputs.cache-hit != 'true'

- name: Cleanup RVM
run: ~/.rvm/bin/rvm cleanup all
if: steps.fetch_rvm_cache.outputs.cache-hit != 'true'

- name: Update RVM cache
run: CACHE_PATH="$HOME/.rvm" ./dev/ci/update-cache-az-blob-storage
if: steps.fetch_rvm_cache.outputs.cache-hit != 'true'
Expand Down
2 changes: 1 addition & 1 deletion packaging/binaries

0 comments on commit 8a50e95

Please sign in to comment.