mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 23:51:00 +00:00
24 lines
797 B
YAML
24 lines
797 B
YAML
name: Create Alpha
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest # [self-hosted, ptg]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build docker image
|
|
run: docker build -f DockerfileAlpha -t telegram-build .
|
|
- name: Build app
|
|
run: docker run --rm -v "$PWD":/home/source telegram-build #--cpus="3.5" -m 6000M telegram-build
|
|
- name: Print Hash
|
|
working-directory: ${{env.GITHUB_WORKSPACE}}
|
|
run: sha256sum TMessagesProj/build/outputs/apk/afat/alpha/app.apk
|
|
- name: Save artifact
|
|
uses: actions/upload-artifact@master
|
|
with:
|
|
name: PTelegram-v3_0_17a.apk
|
|
path: TMessagesProj/build/outputs/apk/afat/alpha/app.apk
|
|
- name: Create cleanup request
|
|
run: touch delete_request
|