Skip to content

Commit ad9e3ff

Browse files
committed
Pin ccache version
1 parent a5d431c commit ad9e3ff

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/check.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Check
22

33
env:
4+
CCACHE_VERSION: 4.12.3
45
# Version here should match the one in React Native template and packages/cmake-rn/src/cli.ts
56
NDK_VERSION: 27.1.12297006
67
# Building Hermes from source doesn't support CMake v4
@@ -32,7 +33,7 @@ jobs:
3233
uses: aminya/setup-cpp@v1
3334
with:
3435
clang-format: true
35-
ccache: true
36+
ccache: ${{ env.CCACHE_VERSION }}
3637
- run: which ccache
3738
- run: ccache --version
3839
- run: ccache --print-version
@@ -80,7 +81,7 @@ jobs:
8081
uses: aminya/setup-cpp@v1
8182
with:
8283
clang-format: true
83-
ccache: true
84+
ccache: ${{ env.CCACHE_VERSION }}
8485
- name: Set up JDK 17
8586
uses: actions/setup-java@v4
8687
with:
@@ -114,7 +115,7 @@ jobs:
114115
uses: aminya/setup-cpp@v1
115116
with:
116117
clang-format: true
117-
ccache: true
118+
ccache: ${{ env.CCACHE_VERSION }}
118119
- run: npm ci
119120
- run: npm run build
120121
- name: Prepare weak-node-api
@@ -138,7 +139,7 @@ jobs:
138139
uses: aminya/setup-cpp@v1
139140
with:
140141
clang-format: true
141-
ccache: true
142+
ccache: ${{ env.CCACHE_VERSION }}
142143
- name: Set up JDK 17
143144
uses: actions/setup-java@v3
144145
with:
@@ -176,7 +177,7 @@ jobs:
176177
uses: aminya/setup-cpp@v1
177178
with:
178179
clang-format: true
179-
ccache: true
180+
ccache: ${{ env.CCACHE_VERSION }}
180181
- name: Set up JDK 17
181182
uses: actions/setup-java@v3
182183
with:
@@ -212,7 +213,7 @@ jobs:
212213
uses: aminya/setup-cpp@v1
213214
with:
214215
clang-format: true
215-
ccache: true
216+
ccache: ${{ env.CCACHE_VERSION }}
216217
- name: Set up JDK 17
217218
uses: actions/setup-java@v4
218219
with:
@@ -297,7 +298,7 @@ jobs:
297298
uses: aminya/setup-cpp@v1
298299
with:
299300
clang-format: true
300-
ccache: true
301+
ccache: ${{ env.CCACHE_VERSION }}
301302
- name: Set up JDK 17
302303
uses: actions/setup-java@v3
303304
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: aminya/setup-cpp@v1
2626
with:
2727
clang-format: true
28-
ccache: true
28+
ccache: ${{ env.CCACHE_VERSION }}
2929
- name: Set up JDK 17
3030
uses: actions/setup-java@v3
3131
with:

0 commit comments

Comments
 (0)