diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml index 7c59879b..9a370d1c 100644 --- a/.github/workflows/flutter-build.yml +++ b/.github/workflows/flutter-build.yml @@ -53,12 +53,12 @@ jobs: # with: # version: ${{ env.LLVM_VERSION }} -# - name: Install flutter -# uses: subosito/flutter-action@v2 -# with: -# channel: "stable" -# flutter-version: ${{ env.FLUTTER_VERSION }} -# cache: true + - name: Install flutter + uses: subosito/flutter-action@v2 + with: + channel: "stable" + flutter-version: ${{ env.FLUTTER_VERSION }} + cache: true # - name: Replace engine with rustdesk custom flutter engine # run: | @@ -68,17 +68,17 @@ jobs: # Expand-Archive windows-x64-flutter-release.zip -DestinationPath engine # mv -Force engine/* C:/hostedtoolcache/windows/flutter/stable-${{ env.FLUTTER_VERSION }}-x64/bin/cache/artifacts/engine/windows-x64-release/ -# - name: Install Rust toolchain -# uses: actions-rs/toolchain@v1 -# with: -# toolchain: stable -# target: ${{ matrix.job.target }} -# override: true -# profile: minimal # minimal component installation (ie, no documentation) + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + target: ${{ matrix.job.target }} + override: true + profile: minimal # minimal component installation (ie, no documentation) -# - uses: Swatinem/rust-cache@v2 -# with: -# prefix-key: ${{ matrix.job.os }} + - uses: Swatinem/rust-cache@v2 + with: + prefix-key: ${{ matrix.job.os }} - name: Install flutter rust bridge deps run: | @@ -87,10 +87,10 @@ jobs: Push-Location flutter ; flutter pub get ; Pop-Location ~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart -# - name: Install vcpkg dependencies -# run: | -# cd C:\ -# git clone https://github.com/Kingtous/rustdesk_thirdpary_lib --depth=1 + - name: Install vcpkg dependencies + run: | + cd C:\ + git clone https://github.com/Kingtous/rustdesk_thirdpary_lib --depth=1 - name: Build rustdesk env: