fix 修复一些死锁问题;katana 爬虫goroutine泄露;其他问题 #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🎉 Release Binary | |
on: | |
push: | |
tags: | |
- v* | |
workflow_dispatch: | |
jobs: | |
build-mac: | |
runs-on: macos-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21.x | |
- name: Install Dependences | |
run: brew install libpcap | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
version: latest | |
args: release -f .goreleaser/mac.yml --clean | |
env: | |
GITHUB_TOKEN: "${{ secrets.GORELEASER_TOKEN }}" | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21.x | |
- name: Install Dependences | |
run: sudo apt install libpcap-dev | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
version: latest | |
args: release -f .goreleaser/linux.yml --clean | |
env: | |
GITHUB_TOKEN: "${{ secrets.GORELEASER_TOKEN }}" | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Code checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21.x | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
version: latest | |
args: release -f .goreleaser/windows.yml --clean | |
env: | |
GITHUB_TOKEN: "${{ secrets.GORELEASER_TOKEN }}" |