From 8bafb0a5de1c4c29aa8fd8e7b02c0bc7bb913058 Mon Sep 17 00:00:00 2001 From: Patryk Michalik Date: Wed, 18 May 2022 13:14:00 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9CRelease=20update=E2=80=9D=20workflow:?= =?UTF-8?q?=20Add=20`releaseName`=20input=20parameter=20&=20fix=20`publish?= =?UTF-8?q?-telegram-update-post`=20job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release_update.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_update.yml b/.github/workflows/release_update.yml index 1daecc4d50..6f0ba6a9a2 100644 --- a/.github/workflows/release_update.yml +++ b/.github/workflows/release_update.yml @@ -14,6 +14,10 @@ on: description: Prerelease type: boolean required: true + releaseName: + description: Release name + type: string + required: true jobs: build-release-apk: runs-on: ubuntu-latest @@ -76,6 +80,7 @@ jobs: draft: true body_path: ${{ github.workspace }}/GITHUB_CHANGELOG.md files: artifacts/release-apk/${{ github.event.inputs.artifactName }} + name: ${{ github.event.inputs.releaseName }} publish-telegram-update-post: runs-on: ubuntu-latest needs: build-release-apk @@ -94,7 +99,7 @@ jobs: - name: Install Python packages run: | python -m pip install --upgrade pip - pip install requests + pip install gitpython requests - name: Publish Telegram update post run: python ci.py env: