ci(gitea): use pinned Windows release instead of inherited source overrides
This commit is contained in:
1 parent
3a8d9b76e8
commit
d6d665312e
2 files changed
+6
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user