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: 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