added path env before jobs
This commit is contained in:
@@ -8,6 +8,10 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main # Adjust this to match your main branch name
|
- main # Adjust this to match your main branch name
|
||||||
|
|
||||||
|
|
||||||
|
env:
|
||||||
|
PATH:/run/current-system/sw/bin:$PATH
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
runs-on: native
|
runs-on: native
|
||||||
@@ -15,7 +19,6 @@ jobs:
|
|||||||
- name: Debug environment
|
- name: Debug environment
|
||||||
run: |
|
run: |
|
||||||
echo $PATH
|
echo $PATH
|
||||||
export PATH=/run/current-system/sw/bin:$PATH
|
|
||||||
which nix || echo "Nix not found"
|
which nix || echo "Nix not found"
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
Reference in New Issue
Block a user