mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
ae4260f0a7
This works by using Cachix feature of serving a file from a store path.
10 lines
281 B
Bash
Executable file
10 lines
281 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"
|