Skip to content

Commit

Permalink
Merge pull request #886 from MarathonLabs/feature/release-notification
Browse files Browse the repository at this point in the history
feat(ci): telegram notification should contain new version
  • Loading branch information
Malinskiy authored Jan 26, 2024
2 parents f1a72f0 + 3ce6b03 commit c6465a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,15 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: little-core-labs/[email protected]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
- name: Set output
run: echo "version=$GIT_TAG_NAME" >> $GITHUB_OUTPUT
- name: Send Telegram Release message
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
New Marathon version has been submitted to Maven central and will be available soon https://github.com/MarathonLabs/marathon/releases/
New Marathon version ${{ steps.notify.outputs.version }} has been submitted to Maven central and will be available soon https://github.com/MarathonLabs/marathon/releases/

0 comments on commit c6465a8

Please sign in to comment.