Compare commits
	
		
			8 Commits
		
	
	
		
			v14
			...
			self-hoste
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 39d848c6d3 | ||
|  | 8ba86cf165 | ||
|  | 712fbc2bf9 | ||
|  | c5729e9110 | ||
|  | 3e0e991ad2 | ||
|  | d04e8d60ba | ||
|  | 791347c66b | ||
|  | 3e073d0e89 | 
| @@ -52,9 +52,9 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@v2.3.4 |     - uses: actions/checkout@v2.3.4 | ||||||
|     - uses: cachix/install-nix-action@v13 |     - uses: cachix/install-nix-action@v14 | ||||||
|       with: |       with: | ||||||
|         install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install |         install_url: https://nixos-nix-install-tests.cachix.org/serve/vij683ly7sl95nnhb67bdjjfabclr85m/install | ||||||
|         install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' |         install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' | ||||||
|         extra_nix_config: | |         extra_nix_config: | | ||||||
|           experimental-features = nix-command flakes |           experimental-features = nix-command flakes | ||||||
|   | |||||||
| @@ -1,6 +1,9 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| set -euo pipefail | set -euo pipefail | ||||||
|  |  | ||||||
|  | # Set paths early (ephemeral self-hosted runners might reuse a runner) | ||||||
|  | PATH="/nix/var/nix/profiles/per-user/$USER/profile/bin":"/nix/var/nix/profiles/default/bin":$PATH | ||||||
|  |  | ||||||
| if type -p nix &>/dev/null ; then | if type -p nix &>/dev/null ; then | ||||||
|   echo "Aborting: Nix is already installed at $(type -p nix)" |   echo "Aborting: Nix is already installed at $(type -p nix)" | ||||||
|   exit |   exit | ||||||
| @@ -48,9 +51,6 @@ echo "installer options: ${installer_options[@]}" | |||||||
| sh <(curl --retry 5 --retry-connrefused -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}") "${installer_options[@]}" | sh <(curl --retry 5 --retry-connrefused -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}") "${installer_options[@]}" | ||||||
|  |  | ||||||
| if [[ $OSTYPE =~ darwin ]]; then | if [[ $OSTYPE =~ darwin ]]; then | ||||||
|   # Disable spotlight indexing of /nix to speed up performance |  | ||||||
|   sudo mdutil -i off /nix |  | ||||||
|  |  | ||||||
|   # macOS needs certificates hints |   # macOS needs certificates hints | ||||||
|   cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt |   cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt | ||||||
|   echo "NIX_SSL_CERT_FILE=$cert_file" >> "$GITHUB_ENV" |   echo "NIX_SSL_CERT_FILE=$cert_file" >> "$GITHUB_ENV" | ||||||
| @@ -62,6 +62,7 @@ fi | |||||||
| echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH" | echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH" | ||||||
| echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH" | echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH" | ||||||
|  |  | ||||||
|  |  | ||||||
| if [[ $INPUT_NIX_PATH != "" ]]; then | if [[ $INPUT_NIX_PATH != "" ]]; then | ||||||
|   echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV" |   echo "NIX_PATH=${INPUT_NIX_PATH}" >> "$GITHUB_ENV" | ||||||
| fi | fi | ||||||
|   | |||||||
| @@ -3307,9 +3307,9 @@ throat@^4.0.0: | |||||||
|   integrity sha1-iQN8vJLFarGJJua6TLsgDhVnKmo= |   integrity sha1-iQN8vJLFarGJJua6TLsgDhVnKmo= | ||||||
|  |  | ||||||
| tmpl@1.0.x: | tmpl@1.0.x: | ||||||
|   version "1.0.4" |   version "1.0.5" | ||||||
|   resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" |   resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" | ||||||
|   integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE= |   integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== | ||||||
|  |  | ||||||
| to-fast-properties@^2.0.0: | to-fast-properties@^2.0.0: | ||||||
|   version "2.0.0" |   version "2.0.0" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user