mirror of
https://github.com/criyle/go-judge.git
synced 2025-09-26 22:39:12 +08:00
Actions::Build
This commit is contained in:
parent
91c8c321c4
commit
0a205b456d
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