Skip to content

Commit

Permalink
Fix PATH in Githb Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Dec 17, 2020
1 parent 274e657 commit 9efdedd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cron.yml
Expand Up @@ -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: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -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/
Expand Down

0 comments on commit 9efdedd

Please sign in to comment.