There was an error while loading. Please reload this page.
1 parent ad48b22 commit 9bced1cCopy full SHA for 9bced1c
1 file changed
.github/workflows/ci.yml
@@ -57,14 +57,12 @@ jobs:
57
- name: Read project version
58
id: version
59
run: |
60
- VERSION="$(mvn -q -Dexec.executable=echo -Dexec.args="${project.version}" --non-recursive exec:exec)"
+ VERSION="$(mvn -q -DforceStdout help:evaluate -Dexpression=project.version)"
61
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
62
63
- name: Deploy Snapshot
64
if: endsWith(steps.version.outputs.version, '-SNAPSHOT')
65
- run: mvn -B --no-transfer-progress \
66
- -Pmaven-central-release \
67
- -DskipTests=true deploy
+ run: mvn -B --no-transfer-progress -Pmaven-central-release -DskipTests=true deploy
68
env:
69
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
70
CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
0 commit comments