Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/broken_release_publish_workflow_action
Browse files Browse the repository at this point in the history
  • Loading branch information
benedeki authored Jun 6, 2024
2 parents 7139b22 + 654f170 commit 6ed42d1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

name: Release - publish artifacts
on:
release:
types: [released]
workflow_dispatch:
# release:
# types: [released]

jobs:
# publish-to-sonatype:
Expand Down Expand Up @@ -71,6 +72,12 @@ jobs:
echo "Published file: ${{ env.JAR_PATH }}"
echo "In repo: ${{ github.repository }}"
- name: Info on publish
run: |
echo "Server release: ${{ github.event.release.tag_name }}"
echo "Published file: ${{ env.JAR_PATH }}"
echo "In repo: ${{ github.repository }}"
- name: Upload JAR file to GitHub Release
run: gh release upload ${{ github.event.release.tag_name }} ${{ env.JAR_PATH }} --repo ${{ github.repository }}
env:
Expand Down

0 comments on commit 6ed42d1

Please sign in to comment.