Skip to content

Commit

Permalink
feat: add release action for oasis service
Browse files Browse the repository at this point in the history
issue: #226
  • Loading branch information
CodeBear801 committed Mar 13, 2020
1 parent 6a5433b commit 12bda08
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release-go-cmd-oasis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release cmd/oasis

on:
release:
types: [created]

env:
CMD_PATH: ./integration/cmd/oasis
BINARY_NAME: oasis


jobs:
releases-matrix:
name: Release cmd/oasis
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64]
exclude:
# windows/386 and darwin/386 seems useless
- goarch: "386"
goos: windows
- 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 }}
project_path: "${{ env.CMD_PATH }}"
binary_name: "${{ env.BINARY_NAME }}"

0 comments on commit 12bda08

Please sign in to comment.