feat: 尝试修复爱快添加太多列表后反应太慢导致的失败问题 #21
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 mosdns | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.22' | |
check-latest: true | |
cache: true | |
#- name: Test | |
# run: go test -race -v ./... | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Build | |
run: python ./release.py | |
env: | |
CGO_ENABLED: '0' | |
- name: Publish | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: './release/*.zip' | |
prerelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |