This is an automated email from the ASF dual-hosted git repository. vgalaxies pushed a commit to branch validate-1.5.0 in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
commit 25dbf4e6202a4849f6d266b4411584ebcf03f76e Author: V_Galaxy <[email protected]> AuthorDate: Tue Nov 12 18:04:29 2024 +0800 update --- .github/workflows/validate-release.yml | 13 ++++++++----- dist/validate-release.sh | 3 +++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/validate-release.yml b/.github/workflows/validate-release.yml index 2920f6ad..7aa26052 100644 --- a/.github/workflows/validate-release.yml +++ b/.github/workflows/validate-release.yml @@ -6,11 +6,11 @@ on: release_version: required: true description: svn release version - default: '1.3.0' + default: '1.5.0' gpg_user: required: true - description: current release manager(gpg username) - default: 'imbajin' + description: current release manager (gpg username) + default: 'vgalaxies' push: branches: @@ -165,12 +165,15 @@ jobs: done # 4.8 test compile the packages - if [[ (${{ matrix.java_version }} == 8 && "$i" =~ "computer") ]] || [[ "$i" =~ 'hugegraph-ai' ]]; then + if [[ (${{ matrix.java_version }} == 8 && "$i" =~ "computer") ]] || [[ "$i" =~ "hugegraph-ai" ]]; then echo "Skip compile computer module in java8 & AI module in all versions" popd || exit continue fi # TODO: consider using commands that are entirely consistent with building binary packages + if [[ "$i" =~ "computer" ]]; then + cd computer + fi mvn package -DskipTests -Papache-release -ntp -e || exit ls -lh @@ -338,6 +341,6 @@ jobs: strategy: fail-fast: false matrix: - java_version: ['8','11'] + java_version: ['8', '11'] # TODO: support windows-latest or other OS in future os: [ubuntu-latest, macos-latest] diff --git a/dist/validate-release.sh b/dist/validate-release.sh index aed42d7e..155aef89 100755 --- a/dist/validate-release.sh +++ b/dist/validate-release.sh @@ -160,6 +160,9 @@ for i in *src.tar.gz; do echo "Skip compile $i module in all versions" elif [[ "$i" =~ "hugegraph-commons" ]]; then mvn install -DskipTests -Papache-release -ntp -e + elif [[ "$i" =~ "hugegraph-computer" ]]; then + cd computer + mvn install -DskipTests -Papache-release -ntp -e else # TODO: consider using commands that are entirely consistent with building binary packages mvn package -DskipTests -Papache-release -ntp -e
