Merge branch 'develop' #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ECTS | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build ECTS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@master | |
- name: Build assets | |
run: sudo apt-get install -y nodejs && cd web && npm install && npm run build | |
- name: Build ECTS application | |
run: | | |
GO111MODULE=on go mod download | |
GO111MODULE=on GOOS=darwin go build -ldflags "-s -w" -o "bin/ects_darwin" main.go | |
GO111MODULE=on GOOS=linux go build -ldflags "-s -w" -o "bin/ects_linux" main.go |