Fix revision
This commit is contained in:
parent
82b8abd828
commit
84aa32cac3
3
.github/workflows/maven-publish.yml
vendored
3
.github/workflows/maven-publish.yml
vendored
@ -34,6 +34,7 @@ jobs:
|
||||
export REVISION=${{ steps.branch_name.outputs.SOURCE_TAG_VERSION }}
|
||||
|
||||
echo "REVISION=$REVISION" >> $GITHUB_ENV
|
||||
cat $GITHUB_ENV >> github.env
|
||||
- name: Set up JDK 17 (Snapshot)
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
uses: actions/setup-java@v3
|
||||
@ -71,7 +72,7 @@ jobs:
|
||||
set -xeo pipefail
|
||||
echo "REVISION: $REVISION"
|
||||
|
||||
mvn -B clean -Drevision="${REVISION}" deploy
|
||||
mvn -B clean -Drevision="$REVISION" deploy
|
||||
echo "Done."
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ secrets.MCHV_USERNAME }}
|
||||
|
Loading…
Reference in New Issue
Block a user