Compare commits
1
Commits
daf1b80409
...
3a8d9b76e8
@@ -45,9 +45,15 @@ jobs:
|
|||||||
[IO.File]::WriteAllText($file, $properties + "`norg.gradle.workers.max=4`n")
|
[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 apk --release --flavor production --target-platform android-arm64,android-x64
|
||||||
- run: flutter build windows --release --flavor production
|
- run: flutter build windows --release --flavor production
|
||||||
- run: python -m pip install pefile==2024.8.26
|
- name: Prepare isolated packaging tools
|
||||||
|
run: |
|
||||||
|
python -m venv .build/package-tools
|
||||||
|
if ($LASTEXITCODE -ne 0) { throw 'Packaging environment setup failed.' }
|
||||||
|
& ./.build/package-tools/Scripts/python.exe -m pip install pefile==2024.8.26
|
||||||
|
if ($LASTEXITCODE -ne 0) { throw 'Packaging dependency installation failed.' }
|
||||||
- name: Package application
|
- name: Package application
|
||||||
run: python tool/gitea/package-app.py
|
run: |
|
||||||
|
& ./.build/package-tools/Scripts/python.exe tool/gitea/package-app.py
|
||||||
- name: Upload Android and Windows packages
|
- name: Upload Android and Windows packages
|
||||||
uses: https://github.com/actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
uses: https://github.com/actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in new issue
Block a user