Parcourir la source

Change directory navigation to GITHUB_WORKSPACE

Updated directory navigation to use GITHUB_WORKSPACE for consistency.
jimsterino98 il y a 5 mois
Parent
commit
61e90ecec0
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -197,7 +197,7 @@ jobs:
            patch -p1 < "$p"
           done
 
-          cd ..
+          cd "$GITHUB_WORKSPACE"
           cat >> "$DEFCONFIG" << 'EOF'
           # SUSFS Configuration
           CONFIG_KSU=y
@@ -265,7 +265,7 @@ jobs:
           echo "applying BBRv3"
           curl -L -s https://raw.githubusercontent.com/ahmed-alnassif/GKI-Duchamp/refs/heads/dev/kernel-patches/bbrv3/bbrv3.patch | patch -p1 --forward
 
-          cd ..
+          cd "$GITHUB_WORKSPACE"
           cat >> "$DEFCONFIG" << 'EOF'
           # Networking extras
           CONFIG_IP_NF_TARGET_TTL=y