Update .gitea/workflows/release.yml
Some checks failed
Release / meta (push) Successful in 17s
Release / linux-build (push) Successful in 1m35s
Release / android-build (push) Successful in 15m21s
Release / release-dev (push) Failing after 4s
Release / release-master (push) Successful in 24s

This commit is contained in:
2025-12-12 08:17:59 +00:00
parent b76ed0499c
commit 53eaf0b4af

View File

@@ -134,46 +134,6 @@ jobs:
name: linux-bundle
path: app-linux-x64.tar.gz
windows-build:
runs-on: windows-latest
needs: meta
# Job always runs; steps are conditional so it won't block anything when Windows is disabled.
steps:
- name: Checkout
if: ${{ env.BUILD_WINDOWS == 'true' }}
uses: actions/checkout@v4
- name: Setup Flutter
if: ${{ env.BUILD_WINDOWS == 'true' }}
uses: subosito/flutter-action@v2
with:
channel: ${{ env.FLUTTER_CHANNEL }}
- name: Allow all git directories (CI)
if: ${{ env.BUILD_WINDOWS == 'true' }}
run: git config --global --add safe.directory '*'
- name: Flutter dependencies
if: ${{ env.BUILD_WINDOWS == 'true' }}
run: flutter pub get
- name: Enable Windows desktop
if: ${{ env.BUILD_WINDOWS == 'true' }}
run: flutter config --enable-windows-desktop
- name: Build Windows binary (release)
if: ${{ env.BUILD_WINDOWS == 'true' }}
run: |
flutter build windows --release
powershell -Command "Compress-Archive -Path build/windows/x64/runner/Release/* -DestinationPath app-windows-x64.zip"
- name: Upload Windows artifact
if: ${{ env.BUILD_WINDOWS == 'true' }}
uses: actions/upload-artifact@v3
with:
name: windows-zip
path: app-windows-x64.zip
release-dev:
runs-on: ubuntu-latest
needs: