Skip to content

Commit 2b1a138

Browse files
authored
Update release_and_push.yml
1 parent dc063d1 commit 2b1a138

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release_and_push.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ jobs:
3232

3333
- name: Build artifact
3434
run: mvn clean package -DskipTests
35+
36+
- name: Create release
37+
uses: ncipollo/release-action@v1.12.0
38+
with:
39+
allowUpdates: true
40+
artifacts: "${{ github.workspace }}/target/*.jar"
41+
token: ${{ secrets.GITHUB_TOKEN }}
3542

3643
- name: Publish to the Maven Central Repository
3744
run: mvn --no-transfer-progress deploy
38-
# run: mvn --no-transfer-progress deploy
3945

4046
env:
4147
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}

0 commit comments

Comments
 (0)