File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build
1+ name : Build backend
22
33on :
44 workflow_call :
4646 run : |
4747 go build -ldflags '-linkmode external -extldflags "-static"' -o ../output/backend-linux-64
4848
49- - name : " Uplaod artifacts "
50- uses : actions/upload-artifact@v2
49+ - name : " Upload build "
50+ uses : actions/upload-artifact@v3
5151 with :
5252 name : backend-linux
5353 path : " ${{env.BACKEND_DIR}}/output/*"
8989 run : |
9090 go build -o ..\output\backend-windows-64.exe
9191
92- - name : " Uplaod artifacts "
92+ - name : " Upload build "
9393 uses : actions/upload-artifact@v3
9494 with :
9595 name : backend-windows
@@ -141,7 +141,7 @@ jobs:
141141 run : |
142142 go build -o ../output/backend-macos-m1-64
143143
144- - name : " Uplaod artifacts "
144+ - name : " Upload build "
145145 uses : actions/upload-artifact@v3
146146 with :
147147 name : backend-macos
Original file line number Diff line number Diff line change 1+ name : Build ethernet view
2+
3+ on :
4+ workflow_call :
5+ workflow_dispatch :
6+
7+ jobs :
8+ build-ethernet-view :
9+ name : " Build ethernet view"
10+ runs-on : ubuntu-latest
11+
12+ env :
13+ FRONTEND_DIR : ./ethernet-view
14+ COMMON_DIR : ./common-front
15+
16+ steps :
17+ - uses : actions/checkout@v3
18+
19+ - name : " Install common front dependencies"
20+ working-directory : " ${{env.COMMON_DIR}}"
21+ run : npm install
22+
23+
24+ - name : " Build common front"
25+ working-directory : " ${{env.COMMON_DIR}}"
26+ run : npm run build
27+
28+ - name : " Install ethernet view dependencies"
29+ working-directory : " ${{env.FRONTEND_DIR}}"
30+ run : npm install
31+
32+
33+ - name : " Build ethernet view"
34+ working-directory : " ${{env.FRONTEND_DIR}}"
35+ run : npm run build
36+
37+
38+ - name : " Upload build"
39+ uses : actions/upload-artifact@v3
40+ with :
41+ name : ethernet-view
42+ path : " ${{env.FRONTEND_DIR}}/static/*"
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments