2021-02-15 11:20:54 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
script=$(nix-build -A outputs.hydraJobs.installerScriptForGHA --no-out-link)
|
2021-11-18 18:33:13 +01:00
|
|
|
installerHash=$(echo "$script" | cut -b12-43 -)
|
2021-02-15 11:20:54 +01:00
|
|
|
|
|
|
|
installerURL=https://$CACHIX_NAME.cachix.org/serve/$installerHash/install
|
|
|
|
|
|
|
|
echo "::set-output name=installerURL::$installerURL"
|