mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
Update go.yml
This commit is contained in:
parent
155889b103
commit
49c962778e
15
.github/workflows/go.yml
vendored
15
.github/workflows/go.yml
vendored
@ -14,18 +14,23 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
|
||||||
|
- name: Build React
|
||||||
run: |
|
run: |
|
||||||
apt-get install npm
|
cd net/web
|
||||||
npm install --global yarn
|
npm install yarn
|
||||||
npm install -g n
|
yarn install
|
||||||
n stable
|
yarn build
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.17.5
|
go-version: 1.17.5
|
||||||
|
|
||||||
- name: Build
|
- name: Build Go
|
||||||
run: |
|
run: |
|
||||||
cd net/server
|
cd net/server
|
||||||
go build databag
|
go build databag
|
||||||
|
Loading…
Reference in New Issue
Block a user