File tree Expand file tree Collapse file tree 3 files changed +21
-6
lines changed Expand file tree Collapse file tree 3 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 5050 - uses : actions/checkout@v4
5151 with :
5252 submodules : recursive
53+ - name : Mark repo as safe
54+ run : git config --global --add safe.directory $GITHUB_WORKSPACE
5355 - name : prepare release
5456 run : |
5557 VERSION="snapshot"
@@ -161,13 +163,17 @@ jobs:
161163 CTEST_PARALLEL_LEVEL : 1 # parallel test level for ctest (make test)
162164 steps :
163165 - uses : actions/checkout@v4
164-
165- # target on macOS >= 12.0
166+ with :
167+ submodules : recursive
166168 - name : Xcode Select Version
167169 uses : maxim-lobanov/setup-xcode@v1
168170 with :
169171 xcode-version : ' 14.1.0'
170-
172+ - name : Set up JDK 8
173+ uses : actions/setup-java@v4
174+ with :
175+ java-version : ' 8'
176+ distribution : ' temurin'
171177 - name : prepare release
172178 run : |
173179 VERSION="snapshot"
Original file line number Diff line number Diff line change 2828jobs :
2929 openmldb-test-python :
3030 runs-on : [self-hosted, generic]
31+ if : github.repository == '4paradigm/OpenMLDB'
3132 container :
3233 image : ghcr.io/4paradigm/hybridsql:latest
3334 steps :
3435 - uses : actions/checkout@v4
36+ with :
37+ submodules : recursive
38+ - name : Mark repo as safe
39+ run : git config --global --add safe.directory $GITHUB_WORKSPACE
40+ - name : Set up JDK 8
41+ uses : actions/setup-java@v4
42+ with :
43+ java-version : ' 8'
44+ distribution : ' temurin
3545 - name: build openmldb
3646 shell: bash
3747 run: |
38- git config --system --add safe.directory $(pwd)
3948 make build SQL_JAVASDK_ENABLE=ON CMAKE_INSTALL_PREFIX=openmldb
4049 make install SQL_JAVASDK_ENABLE=ON CMAKE_INSTALL_PREFIX=openmldb
4150 - name: install openmldb
Original file line number Diff line number Diff line change 5151 - uses : actions/checkout@v4
5252 with :
5353 submodules : recursive
54- - uses : actions/setup-java@v2
54+ - uses : actions/setup-java@v4
5555 with :
56- distribution : " adopt "
56+ distribution : ' temurin '
5757 java-version : " 8"
5858 server-id : ossrh
5959 server-username : MAVEN_USERNAME
You can’t perform that action at this time.
0 commit comments