Update to actions/checkout@v2, fix checks error: reference is not a tree. (#4419)
This commit is contained in:
parent
58a787f9e1
commit
467ef8bffc
|
|
@ -32,9 +32,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|
@ -52,9 +56,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|
@ -70,9 +78,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,13 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
es: [es6, es7]
|
es: [es6, es7]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,13 @@ jobs:
|
||||||
Single:
|
Single:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- name: Set environment
|
- name: Set environment
|
||||||
run: export MAVEN_OPTS='-Dmaven.repo.local=~/.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g'
|
run: export MAVEN_OPTS='-Dmaven.repo.local=~/.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g'
|
||||||
- name: Compile & Install Test Codes
|
- name: Compile & Install Test Codes
|
||||||
|
|
@ -56,9 +60,13 @@ jobs:
|
||||||
Cluster:
|
Cluster:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -90,9 +98,13 @@ jobs:
|
||||||
Compatibilities:
|
Compatibilities:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- name: Set environment
|
- name: Set environment
|
||||||
run: export MAVEN_OPTS='-Dmaven.repo.local=~/.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g'
|
run: export MAVEN_OPTS='-Dmaven.repo.local=~/.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g'
|
||||||
- name: Compile & Install Test Codes
|
- name: Compile & Install Test Codes
|
||||||
|
|
@ -106,9 +118,13 @@ jobs:
|
||||||
Profile:
|
Profile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- name: Set environment
|
- name: Set environment
|
||||||
run: export MAVEN_OPTS='-Dmaven.repo.local=~/.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g'
|
run: export MAVEN_OPTS='-Dmaven.repo.local=~/.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g'
|
||||||
- name: Compile & Install Test Codes
|
- name: Compile & Install Test Codes
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,13 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-16.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- name: Prepare enviroment
|
- name: Prepare enviroment
|
||||||
run: |
|
run: |
|
||||||
bash ${SCRIPTS_DIR}/pre.sh
|
bash ${SCRIPTS_DIR}/pre.sh
|
||||||
|
|
|
||||||
|
|
@ -34,9 +34,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|
@ -59,9 +63,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -92,9 +100,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -125,9 +137,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -161,9 +177,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -192,9 +212,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -221,9 +245,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -250,9 +278,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -283,9 +315,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -308,9 +344,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -341,9 +381,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -368,9 +412,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -393,9 +441,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -422,9 +474,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -447,9 +503,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -474,9 +534,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -510,9 +574,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -535,9 +603,13 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
|
||||||
|
|
@ -572,9 +572,13 @@ Here is a group named 'Kafka'. The latest step is Kafka scenario.
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
with:
|
# In the checkout@v2, it doesn't support git submodule. Execute the commands manually.
|
||||||
submodules: true
|
- name: checkout submodules
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git submodule sync --recursive
|
||||||
|
git -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
@ -590,4 +594,4 @@ Here is a group named 'Kafka'. The latest step is Kafka scenario.
|
||||||
run: ./mvnw -f test/plugin/pom.xml clean package -DskipTests docker:build -DBUILD_NO=local >/dev/null
|
run: ./mvnw -f test/plugin/pom.xml clean package -DskipTests docker:build -DBUILD_NO=local >/dev/null
|
||||||
- name: Run kafka 0.11.0.0-2.3.0 (16)
|
- name: Run kafka 0.11.0.0-2.3.0 (16)
|
||||||
run: bash test/plugin/run.sh kafka-scenario
|
run: bash test/plugin/run.sh kafka-scenario
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue