Skip to content

Commit

Permalink
* returning to action on release
Browse files Browse the repository at this point in the history
  • Loading branch information
benedeki committed Jun 6, 2024
1 parent 0538a61 commit 7139b22
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

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

jobs:
# publish-to-sonatype:
Expand Down Expand Up @@ -72,9 +71,7 @@ jobs:
echo "Published file: ${{ env.JAR_PATH }}"
echo "In repo: ${{ github.repository }}"
# echo "Server release: ${{ github.event.release.tag_name }}"

- name: Upload JAR file to GitHub Release
run: gh release upload v0.2.0 ${{ env.JAR_PATH }} --repo ${{ github.repository }}
run: gh release upload ${{ github.event.release.tag_name }} ${{ env.JAR_PATH }} --repo ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7139b22

Please sign in to comment.