From 278dc8d021a099c1526a51cc49b2abd4290efbbb Mon Sep 17 00:00:00 2001 From: Mathis Pierron Date: Tue, 21 Nov 2023 14:18:43 +0000 Subject: [PATCH] Cache ruby dependencies --- .github/workflows/on-push.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index 1e4cd11..c7c8fc5 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -13,10 +13,10 @@ jobs: include: - name: Legacy architecture scheme: TvOSExample - pod_install_command: pod install + pod_install_command: bundle exec pod install - name: Fabric architecture scheme: FabricTvOSExample - pod_install_command: RCT_NEW_ARCH_ENABLED=1 pod install + pod_install_command: RCT_NEW_ARCH_ENABLED=1 bundle exec pod install steps: - name: checkout uses: actions/checkout@v4 @@ -29,6 +29,11 @@ jobs: node-version: 18 cache: "pnpm" cache-dependency-path: "${{ matrix.scheme }}/pnpm-lock.yaml" + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.2" + bundler-cache: true - name: Install node dependencies working-directory: ${{ matrix.scheme }} run: pnpm install