Skip to content

Commit 8e90b4d

Browse files
committed
Add nodeModulePaths option
1 parent 7d42cfb commit 8e90b4d

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/eas-build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ on:
6262
type: string
6363
default: "8"
6464
description: If using pnpm - which version to use
65+
nodeModulePaths:
66+
required: false
67+
type: string
68+
default: node_modules
69+
description: nodeModulePaths to use when checking current hash
6570
google_service_account_key_path:
6671
required: false
6772
type: string
@@ -141,12 +146,12 @@ jobs:
141146

142147
- name: Get Hash
143148
if: ${{ !inputs.always_run && inputs.package_manager != 'bun' }}
144-
run: echo "HASH=`npx expo-native-dependency-hash hash --force --platform=${{ inputs.platform }}`" >> $GITHUB_ENV
149+
run: echo "HASH=`npx expo-native-dependency-hash hash --force --platform=${{ inputs.platform }}` --nodeModulePaths=${{ inputs.nodeModulePaths }}" >> $GITHUB_ENV
145150
working-directory: ${{ inputs.working_directory }}
146151

147152
- name: Get Hash (bun)
148153
if: ${{ !inputs.always_run && inputs.package_manager == 'bun' }}
149-
run: echo "HASH=`bunx expo-native-dependency-hash hash --force --platform=${{ inputs.platform }}`" >> $GITHUB_ENV
154+
run: echo "HASH=`bunx expo-native-dependency-hash hash --force --platform=${{ inputs.platform }}` --nodeModulePaths=${{ inputs.nodeModulePaths }}" >> $GITHUB_ENV
150155
working-directory: ${{ inputs.working_directory }}
151156

152157
- name: Matching Native Builds

0 commit comments

Comments
 (0)