mirror of https://github.com/octoleo/plantuml.git
chore: only publish to OSSRH when release
This commit is contained in:
parent
782087680d
commit
5ec920045b
|
@ -72,7 +72,7 @@ jobs:
|
||||||
else
|
else
|
||||||
echo "This run will NOT make a release"
|
echo "This run will NOT make a release"
|
||||||
fi
|
fi
|
||||||
echo "do_test_linux=true" >> $GITHUB_OUTPUT
|
echo "do_test_linux=false" >> $GITHUB_OUTPUT
|
||||||
echo "do_test_windows=false" >> $GITHUB_OUTPUT
|
echo "do_test_windows=false" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# We run the tests on many OS / Java combinations but also the Compile step because some users build
|
# We run the tests on many OS / Java combinations but also the Compile step because some users build
|
||||||
|
@ -260,7 +260,6 @@ jobs:
|
||||||
cat gradle.properties
|
cat gradle.properties
|
||||||
echo "RELEASE_VERSION=$RELEASE_VERSION"
|
echo "RELEASE_VERSION=$RELEASE_VERSION"
|
||||||
.github/scripts/release-snapshot.sh
|
.github/scripts/release-snapshot.sh
|
||||||
gradle --debug publish
|
|
||||||
|
|
||||||
- name: Create release in GitHub and OSSRH
|
- name: Create release in GitHub and OSSRH
|
||||||
if: needs.workflow_config.outputs.do_release == 'true'
|
if: needs.workflow_config.outputs.do_release == 'true'
|
||||||
|
|
Loading…
Reference in New Issue