Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Feb 3, 2024
0 parents commit 891a309
Show file tree
Hide file tree
Showing 19 changed files with 1,106 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
39 changes: 39 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Android CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: bash ./gradlew assemble

- name: Upload Release APK
uses: actions/upload-artifact@v4
with:
name: Update-Release
path: "app/build/outputs/apk/release/*.apk"
compression-level: 9

- name: Upload Debug APK
uses: actions/upload-artifact@v4
with:
name: Updater-Debug
path: "app/build/outputs/apk/debug/*.apk"
compression-level: 9
Loading

0 comments on commit 891a309

Please sign in to comment.