mirror of
https://github.com/NixOS/nix.git
synced 2024-11-24 07:42:27 +00:00
11 lines
283 B
Bash
Executable File
11 lines
283 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
script=$(nix-build -A outputs.hydraJobs.installerScriptForGHA --no-out-link)
|
|
installerHash=$(echo "$script" | cut -b12-43 -)
|
|
|
|
installerURL=https://$CACHIX_NAME.cachix.org/serve/$installerHash/install
|
|
|
|
echo "::set-output name=installerURL::$installerURL"
|