Skip to content

Commit

Permalink
add build serve
Browse files Browse the repository at this point in the history
  • Loading branch information
kw.lei committed Dec 31, 2019
1 parent 63b2c9e commit 1c83af2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: goreleaser
name: build-client

on:
pull_request:
Expand All @@ -17,7 +17,7 @@ jobs:
with:
go-version: 1.13.x
-
name: Run GoReleaser
name: Run Client GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/release-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: build-server

on:
pull_request:
push:

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v1
-
name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13.x
-
name: Run Server GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist
workdir: ./server
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1c83af2

Please sign in to comment.