“Release update” workflow: Add releaseName input parameter & fix publish-telegram-update-post job

This commit is contained in:
Patryk Michalik
2022-05-18 13:14:00 +02:00
parent 9b29d90cd6
commit 8bafb0a5de

View File

@@ -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: