Skip to content

Commit ce65f4f

Browse files
joyeecheungaduh95
andauthored
fixup! skip sscache action on non-main branches
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 1d39ee1 commit ce65f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-shared.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
--pure --keep TAR_DIR --keep FLAKY_TESTS \
199199
--keep SCCACHE_GHA_VERSION --keep ACTIONS_CACHE_SERVICE_V2 --keep ACTIONS_RESULTS_URL --keep ACTIONS_RUNTIME_TOKEN \
200200
--arg loadJSBuiltinsDynamically false \
201-
--arg ccache '${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'import <nixpkgs> {}).sccache' || 'null' }}' \
201+
--arg ccache '${{ (github.base_ref == 'main' || github.ref_name == 'main') && '(import <nixpkgs> {}).sccache' || 'null' }}' \
202202
--arg devTools '[]' \
203203
--arg benchmarkTools '[]' \
204204
${{ endsWith(matrix.system, '-darwin') && '--arg withAmaro false --arg withLief false --arg withSQLite false --arg extraConfigFlags ''["--without-inspector" "--without-node-options"]'' \' || '\' }}

0 commit comments

Comments
 (0)