Skip to content

Commit 59918f7

Browse files
authored
chore(ci): #20 upload release artifacts on publish job step (#32)
1 parent 08dd9c5 commit 59918f7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ jobs:
3838
if: github.event_name != 'pull_request'
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
- name: 'Upload Release Artifacts'
42+
if: github.event_name == 'release'
43+
run: |
44+
cd ${{ github.workspace }}/target
45+
gh release upload ${{ github.event.release.tag_name }} *.jar*
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
continue-on-error: true
4149
- name: Publish package to Maven Central Repository
4250
if: github.event_name == 'release'
4351
run: mvn -P release --batch-mode deploy

0 commit comments

Comments
 (0)