From 0808e2db106d33ab997e497e4cdf4c6a18c07509 Mon Sep 17 00:00:00 2001 From: shanshanzhong Date: Fri, 7 Nov 2025 00:41:21 -0800 Subject: [PATCH] =?UTF-8?q?ci(workflow):=20=E4=BF=AE=E5=A4=8Ddocker.yml?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E7=BC=A9=E8=BF=9B=E6=A0=BC=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/docker.yml | 68 ++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index fd9b629..8e030e2 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 - - - 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/ + shell: cmd + run: call copy_libcore.bat - - name: Upload Release build artifacts - uses: actions/upload-artifact@v3 - with: - name: windows-release-build - path: build/windows/runner/Release/ +- 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: 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: