Browse Source

Change directory navigation to GITHUB_WORKSPACE

Updated directory navigation to use GITHUB_WORKSPACE for consistency.
jimsterino98 5 months ago
parent
commit
61e90ecec0
1 changed files with 2 additions and 2 deletions
  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