Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,17 @@ jobs:
cache: "maven"
distribution: "corretto"
server-id: central
server-username: ${{secrets.MAVEN_TOKEN_USER}}
server-password: ${{secrets.MAVEN_TOKEN}}
server-username: MAVEN_USERNAME
server-password: MAVEN_TOKEN
gpg-private-key: ${{secrets.MAVEN_GPG_KEY}}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: "Maven deploy maven central"
run: mvn deploy --batch-mode -D skipTests --activate-profiles central --no-transfer-progress

run: mvn -X deploy --batch-mode -D skipTests --activate-profiles central --no-transfer-progress
env:
MAVEN_USERNAME: ${{secrets.MAVEN_TOKEN_USER}}
MAVEN_TOKEN: ${{secrets.MAVEN_TOKEN}}

- name: "Tag release and rev version"
run: |
# tagging release:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.uvasoftware</groupId>
<artifactId>scanii-java</artifactId>
<version>6.0.3-SNAPSHOT</version>
<version>6.0.4-SNAPSHOT</version>
<packaging>jar</packaging>
<description>Scanii.com Java SDK</description>
<name>scanii-java</name>
Expand Down
Loading