改进:GitHub Actions 打包脚本
This commit is contained in:
parent
0daa2d4655
commit
1ce9f33a65
|
@ -20,7 +20,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# 检出代码
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
# 设置jdk环境为11
|
||||
- name: set up JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
|
@ -28,7 +28,7 @@ jobs:
|
|||
java-version: 11
|
||||
# 获取打包秘钥
|
||||
- name: Checkout Android Keystore
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: pppscn/keystore
|
||||
token: ${{ secrets.TOKEN }} # 连接仓库的token,需要单独配置
|
||||
|
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
output: "${{ github.workspace }}/build/app/outputs/apk/release"
|
||||
steps:
|
||||
# 检出代码
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
# 删除旧的工作流
|
||||
- name: Delete Weekly Build
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
java-version: 11
|
||||
# 获取打包秘钥
|
||||
- name: Checkout Android Keystore
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: pppscn/keystore
|
||||
token: ${{ secrets.TOKEN }} # 连接仓库的token,需要单独配置
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:visibility="gone"
|
||||
app:indicator_height="42dp"
|
||||
app:indicator_line_height="2dp"
|
||||
app:indicator_line_show="true"
|
||||
|
|
|
@ -2,8 +2,8 @@ import java.util.regex.Matcher
|
|||
import java.util.regex.Pattern
|
||||
|
||||
def build_versions = [:]
|
||||
build_versions.version_code = 50
|
||||
build_versions.version_name = "3.2.0"
|
||||
build_versions.version_code = 51
|
||||
build_versions.version_name = "3.3.0"
|
||||
build_versions.min_sdk = 19
|
||||
build_versions.target_sdk = 33
|
||||
build_versions.build_tools = "33.0.1"
|
||||
|
@ -32,7 +32,7 @@ versions.butterknife = "10.2.3"
|
|||
versions.runner = "1.4.0"
|
||||
versions.gson = "2.10.1" //https://github.com/google/gson
|
||||
versions.okhttp3 = "3.12.13" //不可升级,为了支持 API 19
|
||||
versions.leakcanary = "2.12" //https://github.com/square/leakcanary
|
||||
versions.leakcanary = "2.13" //https://github.com/square/leakcanary
|
||||
versions.lifecycle = "2.2.0"
|
||||
versions.kotlin = '1.7.21'
|
||||
|
||||
|
|
Loading…
Reference in New Issue