mirror of
https://github.com/kevwan/tproxy.git
synced 2026-05-23 07:40:35 +00:00
24 lines
685 B
YAML
24 lines
685 B
YAML
name: Release
|
|
on:
|
|
release:
|
|
types: [created]
|
|
jobs:
|
|
releases-matrix:
|
|
name: Release tproxy binary
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
# build and publish in parallel: linux/amd64, linux/arm64,
|
|
# windows/amd64, windows/arm64, darwin/amd64, darwin/arm64
|
|
goos: [ linux, windows, darwin ]
|
|
goarch: [ amd64, arm64 ]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: wangyoucao577/go-release-action@v1.40
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
goos: ${{ matrix.goos }}
|
|
goarch: ${{ matrix.goarch }}
|
|
binary_name: "tproxy"
|
|
extra_files: readme-cn.md readme.md
|