mirror of
https://github.com/criyle/go-judge.git
synced 2025-11-04 14:50:02 +08:00
Merge branch 'master' of github.com:criyle/go-judge
This commit is contained in:
commit
4182a5849e
25
.github/workflows/build.yml
vendored
Normal file
25
.github/workflows/build.yml
vendored
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user