Эх сурвалжийг харах

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 сар өмнө
parent
commit
2fa553da47

+ 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)