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:
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

1
Cargo.lock generated
View File

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

View File

@@ -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