Jelajahi Sumber

ci(workflows): update setup script URLs for Next variant in build workflow

Modify the build workflow to use the correct URLs for the setup script of the Next variant. This change ensures that the appropriate script is executed based on the specified variant, enhancing the accuracy and reliability of the build process.
TheWildJames 9 bulan lalu
induk
melakukan
2fa553da47
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      .github/workflows/build.yml

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

@@ -210,9 +210,9 @@ jobs:
             ;;
           Next)
             if [ -n "${{ inputs.ksu_commit }}" ]; then
-              curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/main/kernel/setup.sh" | bash -s "${{ inputs.ksu_commit }}"
+              curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash -s "${{ inputs.ksu_commit }}"
             else
-              curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/main/kernel/setup.sh" | bash -s dev
+              curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash -s next
             fi
             ;;
           KSU)