-
Notifications
You must be signed in to change notification settings - Fork 18
55 lines (46 loc) · 1.16 KB
/
ark.artifacts.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Build and Upload Binaries and WASM
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.1
- name: Build binaries
run: make build-all
- name: Build WASM SDK
run: |
cd pkg/client-sdk
make build-wasm
- name: Upload server binaries
uses: actions/upload-artifact@v4
with:
name: server-binaries
path: ./server/build
if-no-files-found: error
retention-days: 5
compression-level: 6
overwrite: true
- name: Upload client binaries
uses: actions/upload-artifact@v4
with:
name: client-binaries
path: ./client/build
if-no-files-found: error
retention-days: 5
compression-level: 6
overwrite: true
- name: Upload WASM SDK
uses: actions/upload-artifact@v4
with:
name: wasm-sdk
path: pkg/client-sdk/build
if-no-files-found: error
retention-days: 5
compression-level: 0
overwrite: true