diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 8e030e2..2eed8a7 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -128,41 +128,41 @@ jobs: path: . - name: 🔧 复制 libcore 文件到正确位置并重命名 - shell: cmd - run: call copy_libcore.bat + shell: cmd + run: call copy_libcore.bat -- name: Setup Flutter - uses: subosito/flutter-action@v2 - with: - flutter-version: '3.24.5' - channel: 'stable' - -- name: Enable Windows desktop - run: flutter config --enable-windows-desktop - -- name: Get dependencies - run: flutter pub get - -- name: Generate code - run: dart run build_runner build --delete-conflicting-outputs - -- name: Build Windows Debug - run: flutter build windows - -- 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: Setup Flutter + uses: subosito/flutter-action@v2 + with: + flutter-version: '3.24.5' + channel: 'stable' -- name: Upload Release build artifacts - uses: actions/upload-artifact@v3 - with: - name: windows-release-build - path: build/windows/runner/Release/ + - name: Enable Windows desktop + run: flutter config --enable-windows-desktop + + - name: Get dependencies + run: flutter pub get + + - name: Generate code + run: dart run build_runner build --delete-conflicting-outputs + + - name: Build Windows Debug + run: flutter build windows + + - 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/ # 本地(act)验证作业:只验证 Git PATH 与 checkout/submodules build-act-windows: