Skip to content

Commit

Permalink
Broken release publish workflow action (#209)
Browse files Browse the repository at this point in the history
* Changes on `release_publish.yml` workflow action
  * fixed find
  * debug info
  * changed back to react to release instead of dispatch
  • Loading branch information
benedeki authored Jun 7, 2024
1 parent 654f170 commit e48ef6a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 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 @@ -64,7 +63,13 @@ jobs:

- name: Find JAR file
id: find_jar
run: echo "JAR_PATH=$(find . -name 'server/target/jvm-2.13/*.jar' | head -n 1)" >> $GITHUB_ENV
run: echo "JAR_PATH=$(find server/target/jvm-2.13/ -type f -name 'atum-server-assembly-*.jar' | head -n 1)" >> $GITHUB_ENV

- 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: Info on publish
run: |
Expand Down

0 comments on commit e48ef6a

Please sign in to comment.