We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b97165 commit 14cca4bCopy full SHA for 14cca4b
.github/workflows/snapshot_deploy.yml
@@ -67,12 +67,14 @@ jobs:
67
echo "Using Maven revision: ${REVISION}"
68
echo "REVISION=${REVISION}" >> "$GITHUB_ENV"
69
70
+ - name: Set Maven Version
71
+ run: mvn versions:set -DnewVersion="${REVISION}"
72
+
73
- name: Deploy Snapshot
74
env:
75
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76
REPO: ${{ github.repository }}
77
run: |
78
echo "Deploying to https://maven.pkg.github.com/${REPO} with revision ${REVISION}"
79
mvn deploy -DskipTests \
- -Dgithub.repo.url="https://maven.pkg.github.com/${REPO}" \
- -Drevision="${REVISION}"
80
+ -Dgithub.repo.url="https://maven.pkg.github.com/${REPO}"
0 commit comments