Browse Source

Update 'flutter/.github/workflows/pc-build.yml'

天问 1 year ago
parent
commit
78cb3dcb86
1 changed files with 23 additions and 1 deletions
  1. 23 1
      flutter/.github/workflows/pc-build.yml

+ 23 - 1
flutter/.github/workflows/pc-build.yml

@@ -92,4 +92,26 @@ jobs:
         run: flutter analyze
 
       - name: Flutter build app
-        run: flutter build windows
+        run: flutter build windows
+        
+  # build_windows:
+  #   name: Build Flutter (Windows)
+  #   needs: [flutter_test]
+  #   runs-on: ubuntu-latest
+  #   steps:
+  #     - uses: actions/checkout@v2
+  #     - uses: actions/setup-java@v1
+  #       with:
+  #         java-version: "12.x"
+  #     - uses: subosito/flutter-action@v1
+  #       with:
+  #         channel: "stable"
+  #     - run: flutter pub get
+  #     - run: flutter clean
+  #     - run: flutter build windows
+  #     - run: flutter pub run msix:create
+  #     - name: Upload msix
+  #       uses: actions/upload-artifact@v2
+  #       with:
+  #         name: app
+  #         path: build/windows/runner/Release/shodana_reader.msix