From 5cb6d373f032b3de11fe0bb71d29dcfc7976d922 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Mon, 28 Mar 2022 20:44:52 +0800 Subject: [PATCH] =?UTF-8?q?[Chore]=E5=8D=87=E7=BA=A7=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=20[Chore]=E9=9A=90=E8=97=8FTUN=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=9C=A8system=E5=A0=86=E6=A0=88=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/alpha.yml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 4db213d3..6f8f8049 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -41,12 +41,31 @@ jobs: tag: alpha deleteOnlyFromDrafts: false + - name: Tag Repo + uses: richardsimko/update-tag@v1 + with: + tag_name: alpha + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload Alpha - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/action-gh-release@v1 if: ${{ env.GIT_BRANCH != 'Meta' && success() }} with: tag: ${{ github.ref }} - asset_name: alpha - overwrite: true + tag_name: alpha files: bin/* - prerelease: true \ No newline at end of file + prerelease: true + + - name: send telegram message on push + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TTELEGRAM_CHAT_ID }} + token: ${{ secrets.TELEGRAM_TOKEN }} + message: | + ${{ github.actor }} created commit: + Commit message: ${{ github.event.commits[0].message }} + + Repository: ${{ github.repository }} + + See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} \ No newline at end of file