Skip to content

Commit c7cfce3

Browse files
committed
fixup! fixup! tools: reuse V8 builds even without Cachix
1 parent 2fc9c26 commit c7cfce3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/test-shared.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This action uses the following secrets:
2-
# CACHIX_AUTH_TOKEN: Write access to nodejs.cachix.org – without it, the cache is read-only.
2+
# NO_CACHIX_AUTH_TOKEN: Write access to nodejs.cachix.org – without it, the cache is read-only.
33
name: Test Shared libraries
44

55
on:
@@ -161,7 +161,7 @@ jobs:
161161
- uses: ./.github/actions/build-shared
162162
name: Build and test Node.js
163163
with:
164-
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
164+
cachix-auth-token: ${{ secrets.NO_CACHIX_AUTH_TOKEN }}
165165
extra-nix-flags: |
166166
--arg useSeparateDerivationForV8 true \
167167
${{ endsWith(matrix.system, '-darwin') && '--arg withAmaro false --arg withLief false --arg withSQLite false --arg withFFI false --arg extraConfigFlags ''["--without-inspector" "--without-node-options"]'' \' || '\' }}
@@ -200,7 +200,7 @@ jobs:
200200
- name: Check if available on Cachix
201201
id: cachix-check
202202
run: |
203-
echo 'HAS_WRITE_TOKEN=${{ secrets.CACHIX_AUTH_TOKEN && 'true' }}' >> "$GITHUB_OUTPUT"
203+
echo 'HAS_WRITE_TOKEN=${{ secrets.NO_CACHIX_AUTH_TOKEN && 'true' }}' >> "$GITHUB_OUTPUT"
204204
set -x
205205
[ "$(curl -ISsw "%{http_code}" -o /dev/null "https://nodejs.cachix.org/$(basename ${V8_STORE_PATH%-v8-*}).narinfo")" != "200" ] ||
206206
echo "ALREADY_CACHED=true" >> "$GITHUB_OUTPUT"
@@ -211,7 +211,7 @@ jobs:
211211
if: ${{ steps.cachix-check.outputs.ALREADY_CACHED != 'true' }}
212212
with:
213213
name: nodejs
214-
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
214+
authToken: ${{ secrets.NO_CACHIX_AUTH_TOKEN }}
215215

216216
- name: Build V8 derivation
217217
if: ${{ steps.cachix-check.outputs.ALREADY_CACHED != 'true' }}
@@ -285,7 +285,7 @@ jobs:
285285
- uses: ./.github/actions/build-shared
286286
name: Build and test Node.js
287287
with:
288-
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
288+
cachix-auth-token: ${{ secrets.NO_CACHIX_AUTH_TOKEN }}
289289
# Override just the `openssl` attr of the default shared-lib set with
290290
# the matrix-selected nixpkgs attribute (e.g. `openssl_3_6`). All
291291
# other shared libs (brotli, cares, libuv, …) keep their defaults.

0 commit comments

Comments
 (0)