Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): set ImageOS on self-hosted runners #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# optimized WIP
#
# TODO: use a github action secret to pass the builder strategy dynamically
node .github/workflows/mac-runner-matrix-builder.js github
node .github/workflows/mac-runner-matrix-builder.js dc4

build:
needs: mac_runner_matrix_builder
Expand Down Expand Up @@ -77,7 +77,18 @@ jobs:
with:
node-version: ${{ matrix.node }}

# ImageOS is required by this step but not set on self-hosted runners
- uses: ruby/setup-ruby@v1
if: ${{ matrix.selfhosted }}
with:
working-directory: rn
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
env:
ImageOS: macos12

# Use inherited ImageOS on github runners
- uses: ruby/setup-ruby@v1
if: ${{ !matrix.selfhosted }}
with:
working-directory: rn
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
Expand Down