Skip to content

Commit 0e2f77b

Browse files
committed
Remove Maven CI workflow from GitHub Actions
1 parent 28bcdf4 commit 0e2f77b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,23 @@ jobs:
3434
with:
3535
name: hello-world-api
3636
path: target/*.jar
37+
38+
- name: Generate changelog
39+
id: changelog
40+
uses: mikepenz/release-changelog-builder-action@v4
41+
if: success() && github.event_name == 'push'
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
45+
- name: Create Release
46+
uses: softprops/action-gh-release@v1
47+
if: success() && github.event_name == 'push'
48+
with:
49+
tag_name: v1.0.${{ github.run_number }}
50+
name: Release v1.0.${{ github.run_number }}
51+
body: ${{ steps.changelog.outputs.changelog }}
52+
files: target/*.jar
53+
draft: false
54+
prerelease: false
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)