Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
pkr: created writable hostedtoolcache directory expected by ruby/setu…
Browse files Browse the repository at this point in the history
…p-ruby
  • Loading branch information
paulolieuthier committed Sep 21, 2023
1 parent 688db34 commit 1f73919
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkr/runner.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ build {
"sudo ln -s /usr/local/bin/gsed /usr/local/bin/sed",
"sudo git config --system credential.helper ''",

# ruby/setup-ruby expects writable /Users/runner/hostedtoolcache
"sudo mkdir -p /Users/runner/hostedtoolcache",
"sudo ln -s /Users/runner/hostedtoolcache /Users/vagrant/hostedtoolcache",
"sudo chown vagrant /Users/vagrant/hostedtoolcache /Users/runner/hostedtoolcache",

# don't install through brew because of installation errors
# "brew install --cask intel-haxm",
"curl -sSLfo haxm.zip https://github.com/intel/haxm/releases/download/v7.8.0/haxm-macosx_v7_8_0.zip",
Expand Down

0 comments on commit 1f73919

Please sign in to comment.