forked from Project-OSRM/osrm-backend
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add release action for oasis service
issue: #226
- Loading branch information
1 parent
6a5433b
commit 12bda08
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
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 }}" |