ci: fix error

This commit is contained in:
Ylarod
2023-01-17 17:05:12 +08:00
parent 7347ae2301
commit d8009500a4
4 changed files with 14 additions and 16 deletions

View File

@@ -38,6 +38,10 @@ jobs:
name: Build aarch64-${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: KernelSU
fetch-depth: 0
- name: Setup need_upload
id: need_upload
run: |
@@ -47,11 +51,6 @@ jobs:
echo "UPLOAD=false" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v3
with:
path: KernelSU
fetch-depth: 0
- name: Setup kernel source
run: |
cd $GITHUB_WORKSPACE

View File

@@ -26,6 +26,10 @@ jobs:
name: Build aarch64-${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: KernelSU
fetch-depth: 0
- name: Setup need_upload
id: need_upload
run: |
@@ -34,10 +38,6 @@ jobs:
else
echo "UPLOAD=false" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v3
with:
path: KernelSU
fetch-depth: 0
- name: Setup kernel source
run: |

View File

@@ -20,6 +20,9 @@ jobs:
run:
working-directory: ./manager
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup need_upload
id: need_upload
run: |
@@ -28,9 +31,6 @@ jobs:
else
echo "UPLOAD=false" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: set up JDK 11
uses: actions/setup-java@v3
with:

View File

@@ -15,6 +15,9 @@ jobs:
name: Build userspace su
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup need_upload
id: need_upload
run: |
@@ -23,10 +26,6 @@ jobs:
else
echo "UPLOAD=false" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nttld/setup-ndk@v1
with:
ndk-version: r25b