Update project #78
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: | |
pr: | |
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: macos-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Setup JDK 21 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.21 | |
- name: Make Gradlew Executable | |
run: chmod +x ./gradlew | |
# - name: Build | |
# run: ./gradlew compileDebugKotlin | |
- name: Build Debug Artifacts | |
run: ./gradlew app:assembleDebug | |
- name: Upload Artifacts to Outputs | |
uses: actions/upload-artifact@v2 | |
with: | |
path: | | |
app/build/outputs/apk | |
- name: 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 |