Skip to content

Commit 69299b7

Browse files
committed
build: clarify name and functionality of Maven Central publish step
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
1 parent 44acbec commit 69299b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-push-image.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,12 @@ jobs:
210210
VERSION=$(cat version.txt)
211211
echo "VERSION=${VERSION}" >> $GITHUB_ENV
212212
213-
- name: Publish protobuf jar to maven local repo
213+
- name: Publish protobuf jar to Maven Central
214214
if: "${{ github.event_name != 'workflow_dispatch' || github.event.inputs.publish == 'true' }}"
215215
env:
216216
NEXUS_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
217217
NEXUS_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
218+
# If VERSION is *-SNAPSHOT the publishing directs to Maven Central Snapshots, otherwise to Maven Central
218219
run: ./gradlew publishAggregationToCentralPortal -PpublishSigningEnabled=true
219220

220221
publish-simulator:

0 commit comments

Comments
 (0)