Compare commits
8 Commits
appbase-v1
...
appbase-v1
| Author | SHA1 | Date | |
|---|---|---|---|
| 73ea9147aa | |||
| 8556d3a253 | |||
| 34b982de8a | |||
| 2b37edd2b2 | |||
| fd713f5906 | |||
| 3e4044ac9c | |||
| bcbdde2197 | |||
| 54d8257e9c |
18
.github/workflows/gradle.yml
vendored
18
.github/workflows/gradle.yml
vendored
@@ -10,6 +10,8 @@ name: Java CI with Gradle
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "appbase" ]
|
branches: [ "appbase" ]
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "appbase" ]
|
branches: [ "appbase" ]
|
||||||
|
|
||||||
@@ -17,7 +19,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -32,8 +34,18 @@ jobs:
|
|||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||||
|
|
||||||
- name: Build with Gradle Wrapper
|
# 编译任务改为 assembleStageRelease
|
||||||
run: ./gradlew build --no-daemon
|
- name: Build Stage Release APK
|
||||||
|
run: ./gradlew assembleStageRelease --no-daemon
|
||||||
|
|
||||||
|
# 构建成功后,把APK上传到本次tag对应的Release Assets
|
||||||
|
- name: Upload APK to GitHub Release
|
||||||
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: app/build/outputs/apk/stageRelease/*.apk
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
|
# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
|
||||||
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
|
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sat Jun 13 01:28:49 GMT 2026
|
#Wed Jun 24 04:11:18 CST 2026
|
||||||
stageCount=30
|
stageCount=34
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.20
|
baseVersion=15.20
|
||||||
publishVersion=15.20.29
|
publishVersion=15.20.33
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.20.30
|
baseBetaVersion=15.20.34
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://maven.aliyun.com/repository/public/' }
|
|
||||||
maven { url 'https://maven.aliyun.com/repository/google/' }
|
|
||||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
|
|
||||||
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
|
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
|
||||||
maven { url "https://clojars.org/repo/" }
|
maven { url "https://clojars.org/repo/" }
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
@@ -31,9 +28,6 @@ buildscript {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'https://maven.aliyun.com/repository/public/' }
|
|
||||||
maven { url 'https://maven.aliyun.com/repository/google/' }
|
|
||||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
|
|
||||||
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
|
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
|
||||||
maven { url "https://clojars.org/repo/" }
|
maven { url "https://clojars.org/repo/" }
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
|
|||||||
@@ -19,4 +19,4 @@ android.useAndroidX=false
|
|||||||
android.enableJetifier=false
|
android.enableJetifier=false
|
||||||
# 保持与旧版Gradle插件的兼容
|
# 保持与旧版Gradle插件的兼容
|
||||||
android.disableAutomaticComponentCreation=true
|
android.disableAutomaticComponentCreation=true
|
||||||
org.gradle.daemon=false
|
#org.gradle.daemon=false
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sat Jun 13 01:28:49 GMT 2026
|
#Wed Jun 24 04:11:18 CST 2026
|
||||||
stageCount=30
|
stageCount=34
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.20
|
baseVersion=15.20
|
||||||
publishVersion=15.20.29
|
publishVersion=15.20.33
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.20.30
|
baseBetaVersion=15.20.34
|
||||||
|
|||||||
Reference in New Issue
Block a user