Update ios.publish.yml

Signed-off-by: Ammar Ahmed <40239442+ammarahm-ed@users.noreply.github.com>
This commit is contained in:
Ammar Ahmed
2024-01-30 17:48:09 +05:00
committed by GitHub
parent f6c403c1a0
commit 4faade006c

View File

@@ -14,6 +14,12 @@ jobs:
- name: Setup Node
uses: ./.github/actions/setup-node-with-cache
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install node modules
run: |
npm ci --ignore-scripts --prefer-offline --no-audit
@@ -36,20 +42,16 @@ jobs:
export CCACHE_DEPEND=true
export CCACHE_INODECACHE=true
export CCACHE_COMPILERCHECK=content
mkdir .ccache
export CCACHE_DIR=.ccache
- name: Cache ccache
uses: actions/cache@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.11
with:
path: |
.ccache
key: ${{ runner.os }}-library-ccache-${{ hashFiles(format('apps/mobile/native/ios/Podfile.lock')) }}
key: ${{ runner.os }}-ccache-${{ hashFiles(format('apps/mobile/native/ios/Podfile.lock')) }}
restore-keys: |
${{ runner.os }}-library-ccache-
${{ runner.os }}-ccache-
- name: Cache Pods
uses: actions/cache@v3
uses: actions/cache@v2
id: pods-cache
with:
path: apps/mobile/native/ios/Pods