Skip to content

Commit

Permalink
Merge pull request #8 from borisrizov-zf/feat/upload-jar-artifact-to-…
Browse files Browse the repository at this point in the history
…release

feat: upload miw jar to gh release
  • Loading branch information
borisrizov-zf authored Mar 8, 2024
2 parents 2271c45 + a7d6aa6 commit f7d44f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@ jobs:
echo "::notice::${{ env.next_release }}"
echo "::notice::${{ env.will_create_new_release }}"
- name: Upload jar to GitHub release
if: github.event_name != 'pull_request' && steps.semantic-release.outputs.will_create_new_release == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_VERSION: ${{ steps.semantic-release.outputs.next_release }}
run: |
echo "::notice::Uploading jar to GitHub release"
gh release upload "v$RELEASE_VERSION" ./build/libs/miw-latest.jar
docker:
name: Docker Release
needs: semantic_release
Expand Down

0 comments on commit f7d44f0

Please sign in to comment.