From 3ce6b03674d629d307aa975e348ceac9fa882918 Mon Sep 17 00:00:00 2001 From: Anton Malinskiy Date: Fri, 26 Jan 2024 19:53:40 +1000 Subject: [PATCH] feat(ci): telegram notification should contain new version --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97f02049b..be4e4627a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,11 +97,15 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 + - uses: little-core-labs/get-git-tag@v3.0.2 + 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/