Fix PATH in Githb Actions (#253)
This commit is contained in:
parent
274e65711a
commit
282d0b1e5a
5
.github/workflows/cron.yml
vendored
5
.github/workflows/cron.yml
vendored
|
@ -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: |
|
||||
|
|
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue