-
Notifications
You must be signed in to change notification settings - Fork 12
38 lines (35 loc) · 983 Bytes
/
api-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build API
on: workflow_call
jobs:
ui_build_backend:
name: Build API
runs-on: ubuntu-latest
container:
image: vxcontrol/vxbuild-cross:1.19
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Common
uses: ./.github/actions/common
- name: Enable cache
uses: ./.github/actions/go_cache
- uses: actions/download-artifact@v3
with:
name: decode_environment
- name: Build
run: |
git config --global --add safe.directory /__w/soldr/soldr
make build-api
echo "./build/bin/vxapi"
ls -la ./build/bin/vxapi || true
echo "./build/artifacts/api"
ls -la ./build/artifacts/api || true
- name: Upload result for ui_build_backend
uses: actions/upload-artifact@v3
with:
name: ui_backend
path: |
build/bin/vxapi
cmd/api