aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2021-06-28 23:02:53 +0200
committerGitHub <noreply@github.com>2021-06-28 23:02:53 +0200
commit9feca5cdf64b82bfb06dfda07d19d007a2dfa1c1 (patch)
tree45bba1544cb42b8394fac0b4b6de960cb3ea0cde /.github
parent4d058f49e77d63bfac9c0ffd45c6b4de8064b416 (diff)
github actions: simplify getting the system logic
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 17a79dc97..b2b1f07fb 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -20,8 +20,7 @@ jobs:
name: '${{ env.CACHIX_NAME }}'
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- #- run: nix flake check
- - run: nix-build -A checks.$(if [[ `uname` = Linux ]]; then echo x86_64-linux; else echo x86_64-darwin; fi)
+ - run: nix-build -A checks.$(nix-instantiate --eval -E '(builtins.currentSystem)')
check_cachix:
name: Cachix secret present for installer tests
runs-on: ubuntu-latest