mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 21:21:53 +08:00
fix: 移除 composite action 中不支持的 timeout-minutes
This commit is contained in:
@@ -29,27 +29,23 @@ runs:
|
|||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: 安装 C 编译工具
|
- name: 安装 C 编译工具
|
||||||
timeout-minutes: 10
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -y gcc make mingw-w64 gcc-multilib g++-multilib
|
sudo apt-get install -y gcc make mingw-w64 gcc-multilib g++-multilib
|
||||||
|
|
||||||
- name: 下载依赖
|
- name: 下载依赖
|
||||||
timeout-minutes: 5
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
go mod download
|
go mod download
|
||||||
go mod verify
|
go mod verify
|
||||||
|
|
||||||
- name: 安装 UPX
|
- name: 安装 UPX
|
||||||
timeout-minutes: 2
|
|
||||||
uses: crazy-max/ghaction-upx@v3
|
uses: crazy-max/ghaction-upx@v3
|
||||||
with:
|
with:
|
||||||
install-only: true
|
install-only: true
|
||||||
|
|
||||||
- name: 使用 GoReleaser 构建
|
- name: 使用 GoReleaser 构建
|
||||||
timeout-minutes: 60
|
|
||||||
uses: goreleaser/goreleaser-action@v6
|
uses: goreleaser/goreleaser-action@v6
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
|
|||||||
Reference in New Issue
Block a user