Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
VGalaxies committed Nov 12, 2024
1 parent 79fc863 commit 25dbf4e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/validate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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]
3 changes: 3 additions & 0 deletions dist/validate-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25dbf4e

Please sign in to comment.