-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (45 loc) · 943 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: build
on:
pull_request:
branches:
- '**'
tags-ignore:
- v*
push:
branches:
- '**'
tags-ignore:
- v*
jobs:
build-daemon:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v1
-
name: Build daemon
env:
GITHUB_USERNAME: boazy
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cd plummy-daemon && ./gradlew build
build-cli:
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 GoReleaser
uses: boazy/goreleaser-action@master
with:
version: v0.123.3
args: release --skip-publish
workdir: plummy-cli/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}