Skip to content

Commit f5686d7

Browse files
authored
Update maven-publish.yml
1 parent a0385d6 commit f5686d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
4040

4141
- name: Publish to the Maven Central Repository
42-
run: mvn -Dproject.version=${VERSION} --batch-mode deploy
42+
run: mvn -Dproject.version=${env.VERSION} --batch-mode deploy
4343
env:
4444
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
4545
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
46+
VERSION: ${{ steps.get_version.outputs.VERSION }}

0 commit comments

Comments
 (0)