nix-super/scripts/prepare-installer-for-github-actions

11 lines
283 B
Text
Raw Permalink Normal View History

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