forked from BuoyantIO/emojivoto
-
Notifications
You must be signed in to change notification settings - Fork 48
32 lines (30 loc) · 943 Bytes
/
publish.yaml
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
name: publish
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: install protobuf compiler
run: sudo apt install -y protobuf-compiler
- uses: actions/setup-go@v2
with:
go-version: '1.17.5'
- name: install protoc
run: |
go get -u github.com/golang/protobuf/proto && \
go get -u github.com/golang/protobuf/protoc-gen-go && \
go get google.golang.org/protobuf/reflect/protoreflect && \
go get google.golang.org/protobuf/runtime/protoimpl && \
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
- name: Build release
run: make -C emojivoto-web build-releases
- name: Release
uses: softprops/[email protected]
with:
files: ./emojivoto-web/bin/*