mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-23 13:32:03 +01:00
Don't care about extra-conf
This commit is contained in:
parent
232a98572b
commit
04d5b7e811
2 changed files with 0 additions and 13 deletions
5
dist/index.js
generated
vendored
5
dist/index.js
generated
vendored
|
@ -12279,11 +12279,6 @@ async function flakehub_login(netrc) {
|
||||||
`machine flakehub.com login flakehub password ${jwt}`,
|
`machine flakehub.com login flakehub password ${jwt}`,
|
||||||
].join("\n"));
|
].join("\n"));
|
||||||
coreExports.info("Logged in to FlakeHub.");
|
coreExports.info("Logged in to FlakeHub.");
|
||||||
// the join followed by a match on ^... looks silly, but extra_config
|
|
||||||
// could contain multi-line values
|
|
||||||
if (this.extra_conf?.join("\n").match(/^netrc-file/m)) {
|
|
||||||
coreExports.warning("Logging in to FlakeHub conflicts with the Nix option `netrc-file`.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
async function tearDownAutoCache() {
|
async function tearDownAutoCache() {
|
||||||
const daemonDir = process.env[ENV_CACHE_DAEMONDIR];
|
const daemonDir = process.env[ENV_CACHE_DAEMONDIR];
|
||||||
|
|
|
@ -229,14 +229,6 @@ async function flakehub_login(netrc: string) {
|
||||||
);
|
);
|
||||||
|
|
||||||
core.info("Logged in to FlakeHub.");
|
core.info("Logged in to FlakeHub.");
|
||||||
|
|
||||||
// the join followed by a match on ^... looks silly, but extra_config
|
|
||||||
// could contain multi-line values
|
|
||||||
if (this.extra_conf?.join("\n").match(/^netrc-file/m)) {
|
|
||||||
core.warning(
|
|
||||||
"Logging in to FlakeHub conflicts with the Nix option `netrc-file`.",
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function tearDownAutoCache() {
|
async function tearDownAutoCache() {
|
||||||
|
|
Loading…
Reference in a new issue