Skip to content

Commit

Permalink
Update CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyroid committed Jun 1, 2024
1 parent be59842 commit 00b4c11
Showing 1 changed file with 24 additions and 14 deletions.
38 changes: 24 additions & 14 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,30 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :androidApp:assembleSnapshotChannelRichCodecRelease
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :androidApp:assembleSnapshotChannelRichCodecRelease

- name: Upload
uses: actions/upload-artifact@v3
with:
- name: Upload
uses: actions/upload-artifact@v3
with:
path: "androidApp/build/outputs/apk/"

- name: Upload To Telegram
uses: xireiki/[email protected]
with:
bot_token: ${{ secrets.BOT_TOKEN }}
chat_id: ${{ secrets.CHAT_ID }}
large_file: true
method: sendFile
path: "androidApp/build/outputs/apk/"
# parse_mode: Markdown

0 comments on commit 00b4c11

Please sign in to comment.