From 39c214ccc90cbc1d0b2697231debb23b96b20c0f Mon Sep 17 00:00:00 2001 From: Jiting Date: Tue, 19 Oct 2021 07:56:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9E=84=E5=BB=BA=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bf8b8f..56d7d84 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,14 @@ jobs: sudo apt-get update -q sudo apt-get install qt5-default qttools5-dev-tools -y -q + - env: + TG_API: ${{ secrets.TG_API }} + TG_GROUP_ID: ${{ secrets.TG_GROUP_ID }} + if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' + run: | + echo "TG_API=${TG_API}" >> $GITHUB_ENV + echo "TG_GROUP_ID=${TG_GROUP_ID}" >> $GITHUB_ENV + - name: Build package run: | python3 maker.py