diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 766b5a81..39e264b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,6 +86,8 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: 'stable' + - name: Setup nuget + uses: NuGet/setup-nuget@v2 - run: flutter pub get - run: flutter build windows --debug - uses: actions/upload-artifact@v7 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fda989b4..26117aa4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -136,6 +136,8 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' + - name: Setup nuget + uses: NuGet/setup-nuget@v2 - name: Flutter pub get run: flutter pub get - name: Build Windows release diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index b0816745..c956b765 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -32,6 +32,8 @@ set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") # Use Unicode for all projects. add_definitions(-DUNICODE -D_UNICODE) +add_compile_definitions(_SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS) + # Compilation settings that should be applied to most targets. # # Be cautious about adding new options here, as plugins use this function by