Skip to content

Commit 81889db

Browse files
committed
Merge branch 'develop'
2 parents 9170d5c + 63f4645 commit 81889db

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
with:
4141
java-version: '8'
4242
distribution: 'adopt'
43+
server-id: ossrh
44+
server-username: MAVEN_USERNAME
45+
server-password: MAVEN_PASSWORD
46+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
47+
gpg-passphrase: MAVEN_GPG_PASSPHRASE
4348

4449
- name: Cache local Maven repository
4550
uses: actions/cache@v2
@@ -49,5 +54,9 @@ jobs:
4954
restore-keys: |
5055
${{ runner.os }}-maven-
5156
52-
- name: Maven verify
53-
run: mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify
57+
- name: Maven deploy snapshot
58+
run: mvn org.jacoco:jacoco-maven-plugin:prepare-agent deploy
59+
env:
60+
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
61+
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
62+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
server-id: ossrh
4040
server-username: MAVEN_USERNAME
4141
server-password: MAVEN_PASSWORD
42+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
43+
gpg-passphrase: MAVEN_GPG_PASSPHRASE
4244

4345
- name: Cache local Maven repository
4446
uses: actions/cache@v2
@@ -48,8 +50,9 @@ jobs:
4850
restore-keys: |
4951
${{ runner.os }}-maven-
5052
51-
- name: Maven deploy to Maven Central
53+
- name: Maven deploy release
5254
run: mvn deploy -Prelease
5355
env:
5456
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
5557
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
58+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.utplsql</groupId>
77
<artifactId>utplsql-maven-plugin</artifactId>
8-
<version>3.1.6RC1</version>
8+
<version>3.1.6.RC2</version>
99
<packaging>maven-plugin</packaging>
1010

1111
<name>utPLSQL Maven Plugin</name>

0 commit comments

Comments
 (0)