mirror of
https://github.com/jayateertha043/goshod.git
synced 2026-07-21 20:11:02 +00:00
release yaml initial
This commit is contained in:
parent
bc7eba9da0
commit
8e5d2adcdc
1 changed files with 28 additions and 0 deletions
28
.github/workflows/release.yml
vendored
Normal file
28
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
name: Release TBB binaries
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
releases-matrix:
|
||||
name: Release Go Binary
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
# build and publish in parallel: linux/amd64
|
||||
goos: [linux, darwin, windows]
|
||||
goarch: [amd64, arm64, arm, 386]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run tests
|
||||
run: go test -v -p=1 -timeout=0 ./...
|
||||
- uses: wangyoucao577/go-release-action@v1.16
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goos: ${{ matrix.goos }}
|
||||
goarch: ${{ matrix.goarch }}
|
||||
project_path: "."
|
||||
binary_name: "GoShod"
|
||||
ldflags: "-s -w"
|
||||
extra_files: LICENSE README.md
|
||||
Loading…
Add table
Reference in a new issue