Skip to content

Commit

Permalink
chore(ci): #20 upload release artifacts on publish job step (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
snovak7 authored Apr 17, 2024
1 parent 08dd9c5 commit 59918f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ jobs:
if: github.event_name != 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Upload Release Artifacts'
if: github.event_name == 'release'
run: |
cd ${{ github.workspace }}/target
gh release upload ${{ github.event.release.tag_name }} *.jar*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true
- name: Publish package to Maven Central Repository
if: github.event_name == 'release'
run: mvn -P release --batch-mode deploy
Expand Down

0 comments on commit 59918f7

Please sign in to comment.