Skip to content

Commit

Permalink
gh-45: Initial commit for automatic releases
Browse files Browse the repository at this point in the history
  • Loading branch information
viggy28 committed Sep 12, 2021
1 parent 6eeff17 commit b16a449
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
branches:
- "master"
- "vicky/gh-45"
name: "pre-release"
jobs:
releases-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
goos: [linux, windows, darwin]
goarch: ["386", amd64]
exclude:
- goarch: "386"
goos: darwin
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "https://dl.google.com/go/go1.16.5.linux-amd64.tar.gz"
binary_name: "spinup-backend"
extra_files: README.md

0 comments on commit b16a449

Please sign in to comment.