Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6756cea413 | |||
| d4c9bb7d18 | |||
| b072cf448d |
@@ -28,7 +28,9 @@ on:
|
|||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: deploy-client
|
group: deploy-client
|
||||||
cancel-in-progress: false
|
# true:新 client-v* 取消仍在跑的旧发版(如 windows 机离线导致 build-windows 无限排队
|
||||||
|
# 卡住的旧 run),让最新版顺利发布,避免并发组被僵尸 run 占死。
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-android:
|
build-android:
|
||||||
@@ -147,8 +149,12 @@ jobs:
|
|||||||
# No artifact upload — compile-ios.sh uploads straight to TestFlight via
|
# No artifact upload — compile-ios.sh uploads straight to TestFlight via
|
||||||
# altool (matches jiu); nothing is produced under dist/ for this job.
|
# altool (matches jiu); nothing is produced under dist/ for this job.
|
||||||
|
|
||||||
|
# release-deploy 只 needs build-android(唯一稳定可用的平台 floor)。windows/macos/ios
|
||||||
|
# best-effort:各自 runner+secret 就绪则上传 artifact,release-deploy flatten 收
|
||||||
|
# dist-raw/ 里"当时存在"的产物。windows 机离线 / Apple secret 未配 都不阻塞发版
|
||||||
|
# (对应平台下载保留 pangolin1 上一版,待可用时下个 client-v* 追上)。
|
||||||
release-deploy:
|
release-deploy:
|
||||||
needs: [build-android, build-windows]
|
needs: [build-android]
|
||||||
runs-on: mac
|
runs-on: mac
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -84,6 +84,17 @@ flutter {
|
|||||||
source '../..'
|
source '../..'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// url_launcher(6.3.x)的 android 实现拉入 androidx.core:1.17 / androidx.browser:1.9,
|
||||||
|
// 二者要求 AGP 8.9.1+,而本项目工具链是 AGP 8.6.0(升级 AGP 会牵动 libbox 原生构建,风险大)。
|
||||||
|
// 打开 URL 用不到这些新版 API → 强制降到兼容 AGP 8.6 的版本,构建通过、功能不受影响。
|
||||||
|
configurations.all {
|
||||||
|
resolutionStrategy {
|
||||||
|
force 'androidx.core:core:1.13.1'
|
||||||
|
force 'androidx.core:core-ktx:1.13.1'
|
||||||
|
force 'androidx.browser:browser:1.8.0'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// ── sing-box libbox(gomobile AAR)──────────────────────────────
|
// ── sing-box libbox(gomobile AAR)──────────────────────────────
|
||||||
// 产物(gitignore,清掉/换 worktree 都要重建)二选一,均产 io.nekohasekai.libbox 包:
|
// 产物(gitignore,清掉/换 worktree 都要重建)二选一,均产 io.nekohasekai.libbox 包:
|
||||||
|
|||||||
Reference in New Issue
Block a user