mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01:00
11 lines
274 B
Bash
Executable file
11 lines
274 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
set -x
|
|
|
|
nix build --inputs-from . nixpkgs#jq -o jq
|
|
|
|
TEST_NAMES=$(nix flake show . --json | ./jq-bin/bin/jq -c ".checks[\"$(nix eval --raw --impure --expr builtins.currentSystem)\"] | keys")
|
|
|
|
|
|
echo "::set-output name=json::$TEST_NAMES"
|