浏览代码

feat: updated ci.yaml to support windows platform

Ishan Pandhare 2 年之前
父节点
当前提交
62c9108a68
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      .github/workflows/ci.yaml

+ 3 - 1
.github/workflows/ci.yaml

@@ -20,7 +20,7 @@ jobs:
           - os: macos-latest
           - os: macos-latest
             flutter_profile: development-mac-x86_64
             flutter_profile: development-mac-x86_64
           - os: windows-latest
           - os: windows-latest
-            flutter_profile: development-windows-x86_64
+            flutter_profile: development(production)-windows-x86
     runs-on: ${{ matrix.os }}
     runs-on: ${{ matrix.os }}
 
 
     steps:
     steps:
@@ -85,6 +85,8 @@ jobs:
             flutter config --enable-linux-desktop
             flutter config --enable-linux-desktop
           elif [ "$RUNNER_OS" == "macOS" ]; then
           elif [ "$RUNNER_OS" == "macOS" ]; then
             flutter config --enable-macos-desktop
             flutter config --enable-macos-desktop
+          if [ "$RUNNER_OS" == "windows" ]; then
+            flutter config --enable-windows-desktop
           fi
           fi
         shell: bash
         shell: bash