Skip to content

Commit fbb2c04

Browse files
committed
Merge branch 'develop'
2 parents 9159491 + 64f46b7 commit fbb2c04

File tree

2 files changed

+71
-1
lines changed

2 files changed

+71
-1
lines changed

.github/workflows/release.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Build and deploy release
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
defaults:
8+
run:
9+
shell: bash
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
services:
17+
oracle:
18+
image: gvenzl/oracle-xe:21-slim
19+
env:
20+
ORACLE_PASSWORD: oracle
21+
ports:
22+
- 1521:1521
23+
options: >-
24+
--health-cmd healthcheck.sh
25+
--health-interval 10s
26+
--health-timeout 5s
27+
--health-retries 10
28+
29+
steps:
30+
- uses: actions/checkout@v2
31+
with:
32+
fetch-depth: 0
33+
34+
- name: Install utPLSQL
35+
run: sh ${{ github.workspace }}/scripts/1_install_utplsql.sh
36+
37+
- name: Install demo project
38+
run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh
39+
40+
- name: Set up JDK 11
41+
uses: actions/setup-java@v2
42+
with:
43+
java-version: '11'
44+
distribution: 'adopt'
45+
server-id: ossrh
46+
server-username: MAVEN_USERNAME
47+
server-password: MAVEN_PASSWORD
48+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
49+
gpg-passphrase: MAVEN_GPG_PASSPHRASE
50+
51+
- name: Cache local Maven repository
52+
uses: actions/cache@v2
53+
with:
54+
path: ~/.m2/repository
55+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
56+
restore-keys: |
57+
${{ runner.os }}-maven-
58+
59+
- name: Maven deploy snapshot
60+
run: mvn clean deploy -Prelease
61+
env:
62+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
63+
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
64+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
65+
66+
- name: Publish unit test results
67+
uses: EnricoMi/[email protected]
68+
if: always()
69+
with:
70+
files: target/**/TEST**.xml

pom.xml

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

55
<groupId>org.utplsql</groupId>
66
<artifactId>utplsql-java-api</artifactId>
7-
<version>3.1.10</version>
7+
<version>3.1.11</version>
88

99
<name>utPLSQL Java API</name>
1010
<description>Java API for running Unit Tests with utPLSQL v3+.</description>

0 commit comments

Comments
 (0)