This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 4bb97df fix actions/checkout@v2 problem (#2095)
4bb97df is described below
commit 4bb97dfb8b1c4aaee8e61a8d12793b1c337ee5f1
Author: dailidong <[email protected]>
AuthorDate: Thu Mar 5 23:53:12 2020 +0800
fix actions/checkout@v2 problem (#2095)
---
.github/workflows/ci_backend.yml | 12 ++++++++++++
.github/workflows/ci_e2e.yml | 6 ++++++
.github/workflows/ci_frontend.yml | 12 ++++++++++++
.github/workflows/ci_ut.yml | 6 ++++++
4 files changed, 36 insertions(+)
diff --git a/.github/workflows/ci_backend.yml b/.github/workflows/ci_backend.yml
index 1ca15c2..0273251 100644
--- a/.github/workflows/ci_backend.yml
+++ b/.github/workflows/ci_backend.yml
@@ -46,6 +46,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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: Set up JDK 1.8
uses: actions/setup-java@v1
with:
@@ -56,6 +62,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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: Set up JDK 1.8
uses: actions/setup-java@v1
with:
diff --git a/.github/workflows/ci_e2e.yml b/.github/workflows/ci_e2e.yml
index 7d9c5e3..fe818d0 100644
--- a/.github/workflows/ci_e2e.yml
+++ b/.github/workflows/ci_e2e.yml
@@ -30,6 +30,12 @@ jobs:
steps:
- 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
with:
path: ~/.m2/repository
diff --git a/.github/workflows/ci_frontend.yml
b/.github/workflows/ci_frontend.yml
index 1f959b4..494d12d 100644
--- a/.github/workflows/ci_frontend.yml
+++ b/.github/workflows/ci_frontend.yml
@@ -35,6 +35,12 @@ jobs:
os: [ubuntu-latest, macos-latest]
steps:
- 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: Set up Node.js
uses: actions/setup-node@v1
with:
@@ -50,6 +56,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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: Set up JDK 1.8
uses: actions/setup-java@v1
with:
diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml
index e7e4743..48cd1e1 100644
--- a/.github/workflows/ci_ut.yml
+++ b/.github/workflows/ci_ut.yml
@@ -30,6 +30,12 @@ jobs:
steps:
- 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
with:
path: ~/.m2/repository