Skip to content

Commit

Permalink
Merge pull request #67 from TDD788/main
Browse files Browse the repository at this point in the history
更新了引导程序和一个使用工作流程构建应用程序的小想法
  • Loading branch information
hanxinhao000 authored Sep 4, 2024
2 parents 3a6451e + 25023d7 commit edeb37e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Android CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

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

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,11 @@ clean {

task downloadBootstraps() {
doLast {
def version = "2022.04.28-r5+apt-android-7"
downloadBootstrap("aarch64", "4a51a7eb209fe82efc24d52e3cccc13165f27377290687cb82038cbd8e948430", version)
downloadBootstrap("arm", "6459a786acbae50d4c8a36fa1c3de6a4dd2d482572f6d54f73274709bd627325", version)
downloadBootstrap("i686", "919d212b2f19e08600938db4079e794e947365022dbfd50ac342c50fcedcd7be", version)
downloadBootstrap("x86_64", "61b02fdc03ea4f5d9da8d8cf018013fdc6659e6da6cbf44e9b24d1c623580b89", version)
def version = "bootstrap-2024.06.23-r1+apt-android-7"
downloadBootstrap("aarch64", "f259a5122692b069c1460acb0fcdf56a2553ce3160ce2258f8142ba37e680e5d", version)
downloadBootstrap("arm", "18aeeb8b9ba2b021bf99be4960aa7d12674f6d12b0e24fcbcd0c09f2c82ee5ad", version)
downloadBootstrap("i686", "e03fc575c2a3997293218af947205d6e27e593d7becb0c7c41b4d296da2bd242", version)
downloadBootstrap("x86_64", "44eb3989e7832145020dbb8e4bc0496086ddb8a833d74d4db3acb6f5d602bdf7", version)
}
}

Expand Down

0 comments on commit edeb37e

Please sign in to comment.