File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,13 @@ runs:
124124
125125 # Initialize and sync kernel source
126126 echo "Initializing and syncing kernel source..."
127- $REPO init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1 --no-clone-bundle --no-tags
127+ if [[ "${{ inputs.manifest }}" == https://* ]]; then
128+ mkdir -p .repo/manifests
129+ curl -Ls ${{ inputs.manifest }} -o .repo/manifests/temp_manifest.xml
130+ $REPO init -u https://github.com/OnePlusOSS/kernel_manifest.git -b oneplus/sm8650 -m temp_manifest.xml --repo-rev=v2.16 --depth=1 --no-clone-bundle --no-tags
131+ else
132+ $REPO init -u https://github.com/OnePlusOSS/kernel_manifest.git -b ${{ inputs.branch }} -m ${{ inputs.manifest }} --repo-rev=v2.16 --depth=1 --no-clone-bundle --no-tags
133+ fi
128134
129135 # Sync repo and apply patches
130136 $REPO --version
You can’t perform that action at this time.
0 commit comments