mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Move notification delivery to separate Job; use download-artifact
This commit is contained in:
16
.github/workflows/build_debug_apk.yml
vendored
16
.github/workflows/build_debug_apk.yml
vendored
@@ -34,15 +34,23 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Lawnchair
|
||||
name: Debug APK
|
||||
path: build/outputs/apk/lawnWithQuickstep/debug/**.apk
|
||||
- name: Save Workflow status as environment variable
|
||||
uses: technote-space/workflow-conclusion-action@v2.1.5
|
||||
send-notification:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-debug-apk
|
||||
steps:
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: Debug APK
|
||||
path: artifacts/debug-apk
|
||||
- uses: technote-space/workflow-conclusion-action@v2.1.5
|
||||
- name: Send notification
|
||||
uses: appleboy/telegram-action@v0.1.0
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_CI_CHANNEL_ID }}
|
||||
token: ${{ secrets.TELEGRAM_CI_BOT_TOKEN }}
|
||||
document: build/outputs/apk/lawnWithQuickstep/debug/**.apk
|
||||
document: artifacts/debug-apk/**.apk
|
||||
args: |
|
||||
Build ${{ github.run_id }} finished with status ‘${{ env.WORKFLOW_CONCLUSION }}’.
|
||||
Reference in New Issue
Block a user