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:
124
124
125
125
# Initialize and sync kernel source
126
126
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
128
134
129
135
# Sync repo and apply patches
130
136
$REPO --version
You can’t perform that action at this time.
0 commit comments