diff --git a/.github/workflows/release_publish.yml b/.github/workflows/release_publish.yml index 7f34a7379..d126df59b 100644 --- a/.github/workflows/release_publish.yml +++ b/.github/workflows/release_publish.yml @@ -16,9 +16,8 @@ name: Release - publish artifacts on: - workflow_dispatch: -# release: -# types: [released] + release: + types: [released] jobs: # publish-to-sonatype: @@ -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: |