Skip to content

Commit 3ce6b03

Browse files
committed
feat(ci): telegram notification should contain new version
1 parent f1a72f0 commit 3ce6b03

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,15 @@ jobs:
9797
runs-on: ubuntu-22.04
9898
steps:
9999
- uses: actions/checkout@v3
100+
- uses: little-core-labs/[email protected]
101+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
102+
- name: Set output
103+
run: echo "version=$GIT_TAG_NAME" >> $GITHUB_OUTPUT
100104
- name: Send Telegram Release message
101105
uses: appleboy/telegram-action@master
102106
with:
103107
to: ${{ secrets.TELEGRAM_TO }}
104108
token: ${{ secrets.TELEGRAM_TOKEN }}
105109
message: |
106-
New Marathon version has been submitted to Maven central and will be available soon https://github.com/MarathonLabs/marathon/releases/
110+
New Marathon version ${{ steps.notify.outputs.version }} has been submitted to Maven central and will be available soon https://github.com/MarathonLabs/marathon/releases/
107111

0 commit comments

Comments
 (0)