mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
“Release update” workflow: Add releaseName input parameter & fix publish-telegram-update-post job
This commit is contained in:
7
.github/workflows/release_update.yml
vendored
7
.github/workflows/release_update.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user