Skip to content

Commit 12bb2c2

Browse files
committed
Cleaned up release action
1 parent efe05b9 commit 12bb2c2

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
name: Release
1212
runs-on: ubuntu-18.04
1313
steps:
14-
- uses: actions/checkout@v2
14+
- name: Checkout
15+
uses: actions/checkout@v2
1516
with:
1617
fetch-depth: 0
1718

@@ -40,14 +41,16 @@ jobs:
4041
git push origin master
4142
4243
- name: Build
43-
run: ./mvnw --no-transfer-progress -B --file pom.xml verify
44+
run: ./mvnw --no-transfer-progress -B --file pom.xml package
4445

45-
- name: Setup Java for JReleaser
46-
uses: actions/setup-java@v1
46+
- name: Show Reports
47+
uses: actions/upload-artifact@v1
48+
if: failure()
4749
with:
48-
java-version: 11
50+
name: reports-${{ runner.os }}
51+
path: target/
4952

50-
- name: Run JReleaser
53+
- name: Release
5154
uses: jreleaser/release-action@v1
5255
env:
5356
JRELEASER_PROJECT_VERSION: ${{ github.event.inputs.version }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>com.redis</groupId>
88
<artifactId>redis-enterprise-kafka</artifactId>
9-
<version>0.6.1</version>
9+
<version>0.6.2-SNAPSHOT</version>
1010
<name>Redis Enterprise Kafka Connector</name>
1111
<description>Kafka Connect source and sink connectors for Redis Enterprise</description>
1212
<url>https://github.com/${github.owner}/${github.repo}</url>

0 commit comments

Comments
 (0)