mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-31 09:04:46 +01:00
pkg/client-sdk/wasm: build wasm (#238)
Signed-off-by: tiero <3596602+tiero@users.noreply.github.com>
This commit is contained in:
55
.github/workflows/ark.artifacts.yaml
vendored
Normal file
55
.github/workflows/ark.artifacts.yaml
vendored
Normal file
@@ -0,0 +1,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@v2
|
||||
with:
|
||||
go-version: 1.21.0
|
||||
|
||||
- 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
|
||||
Reference in New Issue
Block a user