Actions::Build

This commit is contained in:
masnn 2020-03-21 11:26:56 +08:00
parent 91c8c321c4
commit 0a205b456d

25
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Build
on:
push:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go mod download
- name: Build
run: go build -o executorserver ./cmd/executorserver
- name: Upload
uses: actions/upload-artifact@master
with:
name: ExecutorServer
path: executorserver