Skip to content

Commit d643f97

Browse files
committed
gh-actions: package version as annotation in publisher
1 parent 9887a76 commit d643f97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ jobs:
241241
GITHUB_TOKEN: ${{ github.token }}
242242
VCSVER: ${{ steps.runmeta.outputs.vcsver }}
243243
run: |
244+
echo "::notice::Publishing version ${VCSVER} to GitHub Packages"
244245
# uploaded at:
245246
# maven.pkg.github.com/celzero/firestack/com/github/celzero/firestack/<commit>/firestack-<commit>.aar
246247
# github.com/deelaa-marketplace/commons-workflow/blob/637dc111/flows/publish-api.yml#L49
@@ -282,6 +283,7 @@ jobs:
282283
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_CELZERO_GPG_PASSPHRASE }}
283284
VCSVER: ${{ steps.runmeta.outputs.vcsver }}
284285
run: |
286+
echo "::notice::Publishing version ${VCSVER} to Maven Central"
285287
mvn -f ${POM_OSSRH} versions:set -DnewVersion=${VCSVER} -DgenerateBackupPoms=false
286288
# central.sonatype.org/publish/publish-portal-ossrh-staging-api/#getting-started-for-maven-api-like-plugins
287289
# github.com/videolan/vlc-android/blob/c393dd0699/buildsystem/maven/deploy-to-mavencentral.sh#L119

0 commit comments

Comments
 (0)