mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-10-28 19:00:48 +00:00
ci: 修复发布超时 — 增加 timeout-minutes 以及步骤级超时
This commit is contained in:
1 parent
b32ce5dec8
commit
46e50a021f
2 files changed
+5
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -25,7 +25,7 @@ permissions:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
timeout-minutes: 90
|
||||
|
||||
steps:
|
||||
- name: 检出代码
|
||||
|
||||
Reference in new issue
Block a user