update workflow

This commit is contained in:
rustdesk
2026-01-09 19:12:49 +08:00
parent 5d1b4ba78a
commit 34946219c3
3 changed files with 8 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ jobs:
build: build:
name: Build - ${{ matrix.job.name }} name: Build - ${{ matrix.job.name }}
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -47,7 +47,7 @@ jobs:
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: "1.81" toolchain: "1.88"
override: true override: true
default: true default: true
components: rustfmt components: rustfmt
@@ -88,7 +88,7 @@ jobs:
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: "1.81" toolchain: "1.88"
override: true override: true
default: true default: true
components: rustfmt components: rustfmt
@@ -172,7 +172,7 @@ jobs:
needs: needs:
- build - build
- build-win - build-win
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -414,8 +414,8 @@ jobs:
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Get git tag - name: Get git tag
id: vars id: vars

1
Cargo.lock generated
View File

@@ -1079,6 +1079,7 @@ dependencies = [
"clap", "clap",
"deadpool", "deadpool",
"dns-lookup", "dns-lookup",
"flate2",
"flexi_logger 0.22.3", "flexi_logger 0.22.3",
"hbb_common", "hbb_common",
"headers", "headers",

View File

@@ -51,6 +51,7 @@ ipnetwork = "0.20"
local-ip-address = "0.5.1" local-ip-address = "0.5.1"
dns-lookup = "1.0.8" dns-lookup = "1.0.8"
ping = "0.4.0" ping = "0.4.0"
flate2 = "1.0"
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies] [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 # https://github.com/rustdesk/rustdesk-server-pro/issues/189, using native-tls for better tls support