File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 nix_path : nixpkgs=channel:nixpkgs-unstable
2323
24+ - name : Multiline env set
25+ run : |
26+ set -x
27+ v=$(printf 'hello\nworld\n')
28+ echo "$v" | wc -l
29+ echo "v_naive=$v" >>$GITHUB_ENV
30+ echo "v_escaped=${v//$'\n'/'%0A'}" >>$GITHUB_ENV
31+
32+ - name : Multiline env check
33+ run : |
34+ set -x
35+ echo "$v" | wc -l
36+ echo "$v_naive"
37+ echo "$v_naive" | wc -l
38+ echo "$v_escaped="
39+ echo "$v_escaped=" | wc -l
40+
2441 - name : Install Nix Packages
2542 run : |
2643 set -x
3956 done | sort | tee envs-post
4057 tr ':' '\n' <<<$PATH | sort | tee path-post
4158 tr ':' '\n' <<<$PYTHONPATH | sort | tee pythonpath-post
59+
4260 diff -u envs-pre envs-post
4361 diff -u path-pre path-post
4462 diff -u pythonpath-pre pythonpath-post
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ in { pkgs ? import (_pkgs.fetchFromGitHub {
99
1010with pkgs ;
1111
12- mkShell {
13- buildInputs = [
12+ mkShellNoCC {
13+ packages = [
1414 git
1515 gnumake
1616 gnused
You can’t perform that action at this time.
0 commit comments