diff --git a/.github/workflows/gitea.yml b/.github/workflows/gitea.yml index 67fef2c..488cef8 100644 --- a/.github/workflows/gitea.yml +++ b/.github/workflows/gitea.yml @@ -25,8 +25,8 @@ jobs: x86_64-pc-windows-gnu - name: 安装 Windows 交叉编译所需的 MinGW-w64 工具链 (GCC for Windows) run: | - sudo apt-get update - sudo apt-get install -y mingw-w64 + apt-get update + apt-get install -y mingw-w64 - name: 为 Linux 编译 (release) run: cargo build --release --target x86_64-unknown-linux-gnu