Update nix build command
This commit is contained in:
@@ -28,8 +28,10 @@ jobs:
|
||||
git remote -v 2>&1 || true
|
||||
test -f flake.nix && echo "flake.nix present" || echo "NO flake.nix"
|
||||
|
||||
# checks is keyed per-system (checks.<system>.default); nix build's
|
||||
# #attr shorthand can't resolve it, so resolve the current system inline.
|
||||
- name: Build + offline test suite
|
||||
run: nix build -L .#checks.default
|
||||
run: nix build -L ".#checks.$(nix eval --impure --raw --expr 'builtins.currentSystem').default"
|
||||
|
||||
- name: Live portal tests
|
||||
if: ${{ secrets.RW_LIVE_API_KEY != '' }}
|
||||
|
||||
Reference in New Issue
Block a user