From 46e50a021fec5cea04d80b3193141b1f0fa0c44c Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Wed, 13 May 2026 17:29:45 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E8=B6=85=E6=97=B6=20=E2=80=94=20=E5=A2=9E=E5=8A=A0=20timeout-m?= =?UTF-8?q?inutes=20=E4=BB=A5=E5=8F=8A=E6=AD=A5=E9=AA=A4=E7=BA=A7=E8=B6=85?= =?UTF-8?q?=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/actions/build-release/action.yml | 4 ++++ .github/workflows/release.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-release/action.yml b/.github/actions/build-release/action.yml index d73b0f0..35f54fa 100644 --- a/.github/actions/build-release/action.yml +++ b/.github/actions/build-release/action.yml @@ -29,23 +29,27 @@ runs: cache: true - name: 安装 C 编译工具 + timeout-minutes: 10 shell: bash run: | sudo apt-get update -qq sudo apt-get install -y gcc make mingw-w64 gcc-multilib g++-multilib - name: 下载依赖 + timeout-minutes: 5 shell: bash run: | go mod download go mod verify - name: 安装 UPX + timeout-minutes: 2 uses: crazy-max/ghaction-upx@v3 with: install-only: true - name: 使用 GoReleaser 构建 + timeout-minutes: 60 uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c1873c..8c30985 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ permissions: jobs: release: runs-on: ubuntu-latest - timeout-minutes: 45 + timeout-minutes: 90 steps: - name: 检出代码