Skip to content

Commit

Permalink
feat: upload miw jar to gh release
Browse files Browse the repository at this point in the history
  • Loading branch information
borisrizov-zf committed Mar 8, 2024
1 parent 046a33d commit a7d6aa6
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 a7d6aa6

Please sign in to comment.