Update project #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Commit CI | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
workflow_dispatch: | |
concurrency: | |
group: environment-${{ github.ref }} | |
cancel-in-progress: false | |
jobs: | |
build: | |
env: | |
KEYSTORE_FILE: ${{secrets.KEYSTORE_FILE}} | |
KEYSTORE_KEY_ALIAS: ${{secrets.KEYSTORE_KEY_ALIAS}} | |
KEYSTORE_KEY_PASSWORD: ${{secrets.KEYSTORE_KEY_PASSWORD}} | |
KEYSTORE_STORE_PASSWORD: ${{secrets.KEYSTORE_STORE_PASSWORD}} | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v4 | |
- name: setup jdk 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: make gradlew executable | |
run: chmod +x ./gradlew | |
# - name: compile debug kotlin | |
# run: ./gradlew compileDebugKotlin | |
- name: build debug artifact | |
run: ./gradlew app:assembleDebug | |
- name: upload artifacts to outputs | |
uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
app/build/outputs/apk | |
- name: send telegram message | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO_ID }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
disable_notification: false | |
disable_web_page_preview: true | |
document: app/build/outputs/apk/**/*.apk | |
# message_file: ./releaseNotes.txt |