Skip to content

Commit a607007

Browse files
committed
Cache Hermes build directory
1 parent 6f21e22 commit a607007

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,17 @@ jobs:
8484
working-directory: apps/test-app
8585
# Integration tests (Android)
8686
- name: Clone patched Hermes version
87-
if: matrix.variant == 'android-tests'
8887
shell: bash
8988
run: |
9089
REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent)
9190
echo "REACT_NATIVE_OVERRIDE_HERMES_DIR=$REACT_NATIVE_OVERRIDE_HERMES_DIR" >> $GITHUB_ENV
9291
working-directory: apps/test-app
92+
- name: Setup Hermes cache
93+
uses: actions/cache@v4
94+
id: hermes-cache
95+
with:
96+
path: ${{ env.REACT_NATIVE_OVERRIDE_HERMES_DIR }}
97+
key: ${{ runner.os }}-hermes
9398
- name: Setup Android Emulator cache
9499
if: matrix.variant == 'android-tests'
95100
uses: actions/cache@v4

0 commit comments

Comments
 (0)