Add Windows and Android CI and Gitea releases #1

Merged
lingjhf merged 11 commits from ci/gitea-app into main 2026-10-05 21:22:27 +00:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit d6d665312e - Show all commits

No files matched your search

+5 -1
View File
@@ -44,7 +44,11 @@ jobs:
$properties = [IO.File]::ReadAllText($file).Replace('-Xmx8G', '-Xmx3G').Replace('MaxMetaspaceSize=4G', 'MaxMetaspaceSize=768m')
[IO.File]::WriteAllText($file, $properties + "`norg.gradle.workers.max=4`n")
- run: flutter build apk --release --flavor production --target-platform android-arm64,android-x64
- run: flutter build windows --release --flavor production
- name: Build Windows from the pinned Gitea native release
run: |
Remove-Item Env:CUTDEX_WINDOWS_PATH, Env:CUTDEX_WINDOWS_PACKAGE_PATH -ErrorAction SilentlyContinue
flutter build windows --release --flavor production
if ($LASTEXITCODE -ne 0) { throw 'Windows build failed.' }
- name: Prepare isolated packaging tools
run: |
python -m venv .build/package-tools
+1 -1
View File
@@ -25,7 +25,7 @@ plugins {
include(":app")
// Native source development is opt-in; default resolution uses GitHub Packages.
// Native source development is opt-in; default resolution uses Gitea Maven packages.
providers.gradleProperty("cutdex.android.path").orNull?.let { nativePath ->
includeBuild(nativePath) {
dependencySubstitution {