From 50efdff7f87ca4d53ee7372c4d7ff40ce6d45fa2 Mon Sep 17 00:00:00 2001 From: alduzy Date: Wed, 10 Jul 2024 14:42:09 +0200 Subject: [PATCH] using env working directory for cache deps path --- .github/workflows/android-build-test-fabric.yml | 2 +- .github/workflows/android-build-test.yml | 2 +- .github/workflows/ios-build-test-fabric.yml | 2 +- .github/workflows/ios-build-test.yml | 2 +- .github/workflows/tv-os-build-test.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/android-build-test-fabric.yml b/.github/workflows/android-build-test-fabric.yml index eff2932060..112620512f 100644 --- a/.github/workflows/android-build-test-fabric.yml +++ b/.github/workflows/android-build-test-fabric.yml @@ -37,7 +37,7 @@ jobs: with: node-version: 18 cache: 'yarn' - cache-dependency-path: 'FabricExample/yarn.lock' + cache-dependency-path: ${{ env.WORKING_DIRECTORY }}/yarn.lock - name: Install node dependencies working-directory: ${{ env.WORKING_DIRECTORY }} run: yarn diff --git a/.github/workflows/android-build-test.yml b/.github/workflows/android-build-test.yml index a56f773d7b..d4b539de74 100644 --- a/.github/workflows/android-build-test.yml +++ b/.github/workflows/android-build-test.yml @@ -35,7 +35,7 @@ jobs: with: node-version: 18 cache: 'yarn' - cache-dependency-path: 'Example/yarn.lock' + cache-dependency-path: ${{ env.WORKING_DIRECTORY }}/yarn.lock - name: Install node dependencies working-directory: ${{ env.WORKING_DIRECTORY }} run: yarn diff --git a/.github/workflows/ios-build-test-fabric.yml b/.github/workflows/ios-build-test-fabric.yml index bfbdc3a88c..2db8ca5fa0 100644 --- a/.github/workflows/ios-build-test-fabric.yml +++ b/.github/workflows/ios-build-test-fabric.yml @@ -33,7 +33,7 @@ jobs: with: node-version: 18 cache: 'yarn' - cache-dependency-path: 'FabricExample/yarn.lock' + cache-dependency-path: ${{ env.WORKING_DIRECTORY }}/yarn.lock - name: Use latest stable Xcode uses: maxim-lobanov/setup-xcode@v1 with: diff --git a/.github/workflows/ios-build-test.yml b/.github/workflows/ios-build-test.yml index 57367cacab..23f3d856be 100644 --- a/.github/workflows/ios-build-test.yml +++ b/.github/workflows/ios-build-test.yml @@ -31,7 +31,7 @@ jobs: with: node-version: 18 cache: 'yarn' - cache-dependency-path: 'Example/yarn.lock' + cache-dependency-path: ${{ env.WORKING_DIRECTORY }}/yarn.lock - name: Use latest stable Xcode uses: maxim-lobanov/setup-xcode@v1 with: diff --git a/.github/workflows/tv-os-build-test.yml b/.github/workflows/tv-os-build-test.yml index e3316207e5..370a512e5b 100644 --- a/.github/workflows/tv-os-build-test.yml +++ b/.github/workflows/tv-os-build-test.yml @@ -31,7 +31,7 @@ jobs: with: node-version: 18 cache: 'yarn' - cache-dependency-path: 'TVOSExample/yarn.lock' + cache-dependency-path: ${{ env.WORKING_DIRECTORY }}/yarn.lock - name: Install node dependencies working-directory: ${{ env.WORKING_DIRECTORY }} run: yarn