Update strict mode name in code

This commit is contained in:
Luc Perkins 2024-05-22 13:26:19 -03:00
parent 69a3177516
commit 08f6eb41e5
No known key found for this signature in database
GPG Key ID: 16DB1108FB591835
4 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@ jobs:
- name: Cache the store
uses: ./
with:
strict-mode: true
_internal-strict-mode: true
run-x86_64-linux-untrusted:
needs: build
@ -68,7 +68,7 @@ jobs:
- name: Cache the store
uses: ./
with:
strict-mode: true
_internal-strict-mode: true
- name: Check the cache isn't enabled
run: |
[ $(nix config show substituters) == "https://cache.nixos.org/" ]
@ -102,7 +102,7 @@ jobs:
- name: Cache the store
uses: ./
with:
strict-mode: true
_internal-strict-mode: true
- name: Check the cache for liveness
run: |
.github/workflows/cache-test.sh

2
dist/index.js generated vendored
View File

@ -94810,7 +94810,7 @@ var MagicNixCacheAction = class {
idsProjectName: "magic-nix-cache-closure",
requireNix: "warn"
});
this.strictMode = inputs_exports.getBool("strict-mode");
this.strictMode = inputs_exports.getBool("_internal-strict-mode");
this.hostAndPort = inputs_exports.getString("listen");
this.client = got_dist_source.extend({
retry: {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -44,7 +44,7 @@ class MagicNixCacheAction {
requireNix: "warn",
});
this.strictMode = inputs.getBool("strict-mode");
this.strictMode = inputs.getBool("_internal-strict-mode");
this.hostAndPort = inputs.getString("listen");
this.client = got.extend({