Skip to content

Hw 07 05

Hw 07 05 #6

Workflow file for this run

name: PR Build
on:
pull_request:
paths-ignore:
- '**.md'
env:
gradleFlags: --parallel --stacktrace --no-configuration-cache --no-daemon
TG_CHAT: ${{ secrets.TG_CHAT }}
TG_TOKEN: ${{ secrets.TG_TOKEN }}
jobs:
build-and-telegram-report:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
shell: bash
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :app:reportTelegramApkForRelease $gradleFlags
- name: Upload apk
uses: actions/upload-artifact@v4
with:
name: app-release.apk
path: app/release/app-release.apk