diff --git a/.github/workflows/build_debug_apk.yml b/.github/workflows/build_debug_apk.yml index 8d342c6d44..f04c632b6a 100644 --- a/.github/workflows/build_debug_apk.yml +++ b/.github/workflows/build_debug_apk.yml @@ -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 }}’. \ No newline at end of file