added path env before jobs

This commit is contained in:
2024-08-25 12:49:01 +00:00
parent 5599ef627e
commit 50d7d92563
+4 -1
View File
@@ -8,6 +8,10 @@ on:
branches:
- main # Adjust this to match your main branch name
env:
PATH:/run/current-system/sw/bin:$PATH
jobs:
validate:
runs-on: native
@@ -15,7 +19,6 @@ jobs:
- name: Debug environment
run: |
echo $PATH
export PATH=/run/current-system/sw/bin:$PATH
which nix || echo "Nix not found"
- name: Checkout repository