mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-05 21:17:52 +00:00
chore: only publish to OSSRH when release
This commit is contained in:
parent
782087680d
commit
5ec920045b
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -72,7 +72,7 @@ jobs:
|
||||
else
|
||||
echo "This run will NOT make a release"
|
||||
fi
|
||||
echo "do_test_linux=true" >> $GITHUB_OUTPUT
|
||||
echo "do_test_linux=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
|
||||
@ -260,7 +260,6 @@ jobs:
|
||||
cat gradle.properties
|
||||
echo "RELEASE_VERSION=$RELEASE_VERSION"
|
||||
.github/scripts/release-snapshot.sh
|
||||
gradle --debug publish
|
||||
|
||||
- name: Create release in GitHub and OSSRH
|
||||
if: needs.workflow_config.outputs.do_release == 'true'
|
||||
|
Loading…
Reference in New Issue
Block a user