diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 2c669b8..8777132 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -161,34 +161,39 @@ jobs: if (Test-Path libcore/bin) { Get-ChildItem libcore/bin -ErrorAction SilentlyContinue | Format-Table Name, Length } - \n\n - name: Setup Flutter\n uses: subosito/flutter-action@v2\n with:\n flutter-version: '3.24.5'\n channel: 'stable' - - name: Enable Windows desktop - run: flutter config --enable-windows-desktop + - name: Setup Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '3.24.5' + channel: 'stable' - - name: Get dependencies - run: flutter pub get + - name: Enable Windows desktop + run: flutter config --enable-windows-desktop - - name: Generate code - run: dart run build_runner build --delete-conflicting-outputs + - name: Get dependencies + run: flutter pub get - - name: Build Windows Debug - run: flutter build windows + - name: Generate code + run: dart run build_runner build --delete-conflicting-outputs - - name: Build Windows Release - run: flutter build windows --release + - name: Build Windows Debug + run: flutter build windows - - name: Upload Debug build artifacts - uses: actions/upload-artifact@v3 - with: - name: windows-debug-build - path: build/windows/runner/Debug/ + - name: Build Windows Release + run: flutter build windows --release + + - name: Upload Debug build artifacts + uses: actions/upload-artifact@v3 + with: + name: windows-debug-build + path: build/windows/runner/Debug/ - - name: Upload Release build artifacts - uses: actions/upload-artifact@v3 - with: - name: windows-release-build - path: build/windows/runner/Release/ + - name: Upload Release build artifacts + uses: actions/upload-artifact@v3 + with: + name: windows-release-build + path: build/windows/runner/Release/ # 本地(act)验证作业:只验证 Git PATH 与 checkout/submodules build-act-windows: