mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-04-28 17:56:49 +02:00
Update go.yml
Signed-off-by: Kevin Kandlbinder <kevin@kevink.dev>
This commit is contained in:
parent
70470dbece
commit
d362d17e33
1 changed files with 9 additions and 2 deletions
11
.github/workflows/go.yml
vendored
11
.github/workflows/go.yml
vendored
|
@ -29,6 +29,7 @@ jobs:
|
||||||
path: webui/build
|
path: webui/build
|
||||||
|
|
||||||
build-backend:
|
build-backend:
|
||||||
|
name: Build Backend
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-webui
|
needs: build-webui
|
||||||
steps:
|
steps:
|
||||||
|
@ -46,10 +47,16 @@ jobs:
|
||||||
path: webui/build
|
path: webui/build
|
||||||
|
|
||||||
- name: Build with WebUI
|
- name: Build with WebUI
|
||||||
run: go build -tags withUI -v ./...
|
run: go build -o build/with-ui/ -tags withUI -v ./...
|
||||||
|
|
||||||
- name: Build without WebUI
|
- name: Build without WebUI
|
||||||
run: go build -v ./...
|
run: go build -o build/without-ui/ -v ./...
|
||||||
|
|
||||||
|
- name: Upload build artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: veles-dist
|
||||||
|
path: build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
Loading…
Add table
Reference in a new issue