Skip to content

Commit cf5b15f

Browse files
committed
chore: add conditional to start decoupling some steps
For self hosted nodes we can decoupling some steps.
1 parent 8553525 commit cf5b15f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/actions/setup-e2e-env/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ inputs:
7676
description: 'Environment for which the keystore is being configured (e.g., qa, flask, main)'
7777
required: false
7878
default: 'qa'
79+
is-self-hosted:
80+
description: 'Whether the GitHub Actions runner is self-hosted'
81+
required: false
82+
default: 'false'
7983

8084
runs:
8185
using: 'composite'
@@ -146,7 +150,7 @@ runs:
146150

147151
## Ruby Setup & Cache Management
148152
- name: Setup Ruby
149-
if: ${{ inputs.platform == 'ios' }}
153+
if: ${{ inputs.platform == 'ios' && inputs.is-self-hosted == 'false' }}
150154
uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651
151155
with:
152156
ruby-version: ${{ inputs.ruby-version }}

0 commit comments

Comments
 (0)