mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
meta: use SCCACHE_GHA_ENABLED for shared build workflows
PR-URL: https://github.com/nodejs/node/pull/61640 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
ce0ebd853d
commit
df334f7fa0
1 file changed
+2
-2
@@ -178,7 +178,7 @@ jobs:
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||
with:
|
||||
script: |
|
||||
core.exportVariable('SCCACHE_GHA_VERSION', 'on');
|
||||
core.exportVariable('SCCACHE_GHA_ENABLED', 'on');
|
||||
core.exportVariable('ACTIONS_CACHE_SERVICE_V2', 'on');
|
||||
core.exportVariable('ACTIONS_RESULTS_URL', process.env.ACTIONS_RESULTS_URL || '');
|
||||
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
|
||||
@@ -195,7 +195,7 @@ jobs:
|
||||
nix-shell \
|
||||
-I nixpkgs=./tools/nix/pkgs.nix \
|
||||
--pure --keep TAR_DIR --keep FLAKY_TESTS \
|
||||
--keep SCCACHE_GHA_VERSION --keep ACTIONS_CACHE_SERVICE_V2 --keep ACTIONS_RESULTS_URL --keep ACTIONS_RUNTIME_TOKEN \
|
||||
--keep SCCACHE_GHA_ENABLED --keep ACTIONS_CACHE_SERVICE_V2 --keep ACTIONS_RESULTS_URL --keep ACTIONS_RUNTIME_TOKEN \
|
||||
--arg loadJSBuiltinsDynamically false \
|
||||
--arg ccache '(import <nixpkgs> {}).sccache' \
|
||||
--arg devTools '[]' \
|
||||
|
||||
Reference in new issue
Block a user