Skip to content

Commit 3d9b182

Browse files
committed
chore: load-config is now a script
1 parent 87b32a2 commit 3d9b182

12 files changed

Lines changed: 4549 additions & 24371 deletions

File tree

actions/android/action.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ inputs:
1515
runs:
1616
using: 'composite'
1717
steps:
18-
- uses: 'callstackincubator/react-native-harness/packages/github-action/dist/load-config@feat/github-action'
18+
- name: Load React Native Harness configuration
1919
id: load-config
20-
with:
21-
runner: ${{ inputs.runner }}
22-
projectRoot: ${{ inputs.projectRoot }}
20+
shell: bash
21+
env:
22+
INPUT_RUNNER: ${{ inputs.runner }}
23+
INPUT_PROJECTROOT: ${{ inputs.projectRoot }}
24+
run: |
25+
node ${{ github.action_path }}/../shared/index.cjs
2326
- name: Verify Android config
2427
shell: bash
2528
run: |

actions/ios/action.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ inputs:
1515
runs:
1616
using: 'composite'
1717
steps:
18-
- uses: 'callstackincubator/react-native-harness/packages/github-action/dist/load-config@feat/github-action'
18+
- name: Load React Native Harness configuration
1919
id: load-config
20-
with:
21-
runner: ${{ inputs.runner }}
22-
projectRoot: ${{ inputs.projectRoot }}
20+
shell: bash
21+
env:
22+
INPUT_RUNNER: ${{ inputs.runner }}
23+
INPUT_PROJECTROOT: ${{ inputs.projectRoot }}
24+
run: |
25+
node ${{ github.action_path }}/../shared/index.cjs
2326
- uses: futureware-tech/simulator-action@v4
2427
with:
2528
model: ${{ fromJson(steps.load-config.outputs.config).config.device.name }}

actions/load-config/action.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)