Skip to content

Commit 73d4149

Browse files
force deploy
1 parent c5fe5bb commit 73d4149

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/publish-to-maven.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,10 @@ jobs:
2626
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2727
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2828

29-
# Setup Envvar for build
30-
- name: Set env
31-
run: |
32-
if [[ "${{ github.ref }}" == "refs/tags/v"* ]];
33-
then
34-
echo "PACK_CMD=deploy" >> $GITHUB_ENV
35-
else
36-
echo "PACK_CMD=package" >> $GITHUB_ENV
37-
fi
38-
3929
# package and optionally publish Java SDK to Maven Central
4030
- name: Package and optionally deploy with Maven
4131
run: |
42-
mvn -B clean ${{env.PACK_CMD}}
32+
mvn -B clean deploy
4333
env:
4434
MAVEN_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
4535
MAVEN_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}

0 commit comments

Comments
 (0)