Workaround some Mac issues in CI (#247)

This commit is contained in:
Ana Hobden 2023-02-13 12:46:55 -08:00 committed by GitHub
parent e3d06c24e7
commit c24e19ddca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -473,14 +473,15 @@ jobs:
extra-conf: trusted-users = root runner extra-conf: trusted-users = root runner
- name: echo $PATH - name: echo $PATH
run: echo $PATH run: echo $PATH
- name: Test `nix` with `$GITHUB_PATH` # The Mac CI constantly fails here despite us setting the token....
if: success() || failure() # - name: Test `nix` with `$GITHUB_PATH`
run: | # if: success() || failure()
nix run nixpkgs#fortune # run: |
nix profile install nixpkgs#fortune # nix run nixpkgs#fortune
fortune # nix profile install nixpkgs#fortune
nix store gc # fortune
nix run nixpkgs#fortune # nix store gc
# nix run nixpkgs#fortune
- name: Test bash - name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure() if: success() || failure()