From 34946219c34a373135d3279231bbcbcbbf98802b Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 9 Jan 2026 19:12:49 +0800 Subject: [PATCH] update workflow --- .github/workflows/build.yaml | 12 ++++++------ Cargo.lock | 1 + Cargo.toml | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 50aab4b..d638947 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,7 +26,7 @@ jobs: build: name: Build - ${{ matrix.job.name }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -47,7 +47,7 @@ jobs: - name: Install toolchain uses: actions-rs/toolchain@v1 with: - toolchain: "1.81" + toolchain: "1.88" override: true default: true components: rustfmt @@ -88,7 +88,7 @@ jobs: - name: Install toolchain uses: actions-rs/toolchain@v1 with: - toolchain: "1.81" + toolchain: "1.88" override: true default: true components: rustfmt @@ -172,7 +172,7 @@ jobs: needs: - build - build-win - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -414,8 +414,8 @@ jobs: if: github.event_name != 'pull_request' uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_PASSWORD }} - name: Get git tag id: vars diff --git a/Cargo.lock b/Cargo.lock index a87da66..bf7b850 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1079,6 +1079,7 @@ dependencies = [ "clap", "deadpool", "dns-lookup", + "flate2", "flexi_logger 0.22.3", "hbb_common", "headers", diff --git a/Cargo.toml b/Cargo.toml index 4ca6d74..ac0a63c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,6 +51,7 @@ ipnetwork = "0.20" local-ip-address = "0.5.1" dns-lookup = "1.0.8" ping = "0.4.0" +flate2 = "1.0" [target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies] # https://github.com/rustdesk/rustdesk-server-pro/issues/189, using native-tls for better tls support