Fixup wording, test again against fixed pr

This commit is contained in:
Ana Hobden 2023-07-14 08:57:09 -07:00
parent a5bdb5e70c
commit bdec4311cf
4 changed files with 9 additions and 3 deletions

View file

@ -17,6 +17,7 @@ jobs:
logger: pretty logger: pretty
log-directives: nix_installer=trace log-directives: nix_installer=trace
backtrace: full backtrace: full
nix-installer-pr: 568
- name: echo $PATH - name: echo $PATH
run: echo $PATH run: echo $PATH
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
@ -41,6 +42,7 @@ jobs:
logger: pretty logger: pretty
log-directives: nix_installer=trace log-directives: nix_installer=trace
backtrace: full backtrace: full
nix-installer-pr: 568
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
if: success() || failure() if: success() || failure()
run: | run: |
@ -58,6 +60,7 @@ jobs:
reinstall: true reinstall: true
extra-conf: | extra-conf: |
use-sqlite-wal = true use-sqlite-wal = true
nix-installer-pr: 568
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
if: success() || failure() if: success() || failure()
run: | run: |
@ -83,6 +86,7 @@ jobs:
logger: pretty logger: pretty
log-directives: nix_installer=trace log-directives: nix_installer=trace
backtrace: full backtrace: full
nix-installer-pr: 568
- name: echo $PATH - name: echo $PATH
run: echo $PATH run: echo $PATH
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
@ -111,6 +115,7 @@ jobs:
logger: pretty logger: pretty
log-directives: nix_installer=trace log-directives: nix_installer=trace
backtrace: full backtrace: full
nix-installer-pr: 568
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
if: success() || failure() if: success() || failure()
run: | run: |
@ -128,6 +133,7 @@ jobs:
reinstall: true reinstall: true
extra-conf: | extra-conf: |
use-sqlite-wal = true use-sqlite-wal = true
nix-installer-pr: 568
- name: Test `nix` with `$GITHUB_PATH` - name: Test `nix` with `$GITHUB_PATH`
if: success() || failure() if: success() || failure()
run: | run: |

2
dist/index.js vendored
View file

@ -265,7 +265,7 @@ class NixInstallerAction {
actions_core.addPath(`${process.env.HOME}/.nix-profile/bin`); actions_core.addPath(`${process.env.HOME}/.nix-profile/bin`);
} }
catch (error) { catch (error) {
actions_core.warning("Skipping setting $GITHUB_PATH in action, as `nix-installer` crate seems to have done this already. From `nix-installer` version 0.11.0 and up, this step is only done in the action. Prior to 0.11.0, this was done in the `nix-installer` binary."); actions_core.warning("Skipping setting $GITHUB_PATH in action, the `nix-installer` crate seems to have done this already. From `nix-installer` version 0.11.0 and up, this step is only done in the action. Prior to 0.11.0, this was done in the `nix-installer` binary.");
} }
}); });
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -303,7 +303,7 @@ class NixInstallerAction {
actions_core.addPath(`${process.env.HOME}/.nix-profile/bin`); actions_core.addPath(`${process.env.HOME}/.nix-profile/bin`);
} catch (error) { } catch (error) {
actions_core.warning( actions_core.warning(
"Skipping setting $GITHUB_PATH in action, as `nix-installer` crate seems to have done this already. From `nix-installer` version 0.11.0 and up, this step is only done in the action. Prior to 0.11.0, this was done in the `nix-installer` binary.", "Skipping setting $GITHUB_PATH in action, the `nix-installer` crate seems to have done this already. From `nix-installer` version 0.11.0 and up, this step is only done in the action. Prior to 0.11.0, this was done in the `nix-installer` binary.",
); );
} }
} }