Fix PATH in Githb Actions (#253)

This commit is contained in:
Rok Garbas 2020-12-17 14:05:55 +01:00 committed by GitHub
parent 274e65711a
commit 282d0b1e5a
Failed to generate hash of commit
2 changed files with 7 additions and 4 deletions

View file

@ -76,12 +76,13 @@ jobs:
run: |
nix-env -iA nixpkgs.nixFlakes
echo 'experimental-features = nix-command flakes' | sudo tee -a /etc/nix/nix.conf
$HOME/.nix-profile/bin/nix --version
nix --version
cat /etc/nix/nix.conf
echo "$HOME/.nix-profile/bin" >> $GITHUB_PATH
- name: Building import_scripts
run: |
$HOME/.nix-profile/bin/nix build ./#packages.x86_64-linux.import_scripts
nix build ./#packages.x86_64-linux.import_scripts
- name: Import ${{ matrix.channel }} channel
run: |

View file

@ -32,14 +32,16 @@ jobs:
echo 'experimental-features = nix-command flakes' | sudo tee -a /etc/nix/nix.conf
nix --version
cat /etc/nix/nix.conf
echo "$HOME/.nix-profile/bin" >> $GITHUB_PATH
- name: Building import_scripts
run: |
$HOME/.nix-profile/bin/nix build ./#packages.x86_64-linux.import_scripts
nix build ./#packages.x86_64-linux.import_scripts
- name: Building search.nixos.org
run: |
$HOME/.nix-profile/bin/nix build ./#packages.x86_64-linux.frontend
nix build ./#packages.x86_64-linux.frontend
mkdir ./dist
cp -RL ./result/* ./dist/