interplane.Get Omega
Read in your language

openclaw-rs

High-performance sovereign agent runtime in native Rust and Mojo for NVIDIA DGX Spark

Brought by drakestapleton

branch main Branches Tags History

openclaw-rs / .github / workflows / release.yml

51 lines · 1313 bytes Raw Blame History
1name: OpenClaw Binary Release Pipeline
2
3on:
4 push:
5 tags:
6 - 'v*'
7 workflow_dispatch:
8
9permissions:
10 contents: write
11
12jobs:
13 build-release:
14 name: Build Release (${{ matrix.arch }})
15 runs-on: ${{ matrix.os }}
16 strategy:
17 fail-fast: false
18 matrix:
19 include:
20 - os: ubuntu-24.04-arm
21 arch: aarch64
22 - os: ubuntu-latest
23 arch: x86_64
24
25 steps:
26 - name: Checkout Source
27 uses: actions/checkout@v4
28
29 - name: Install Rust Toolchain
30 uses: dtolnay/rust-toolchain@stable
31
32 - name: Build Binary
33 run: cargo build --release
34
35 - name: Package Binary
36 run: |
37 mkdir -p dist
38 cp target/release/openclaw dist/openclaw
39 chmod +x dist/openclaw
40 tar -czf openclaw-linux-${{ matrix.arch }}.tar.gz -C dist openclaw
41 sha256sum openclaw-linux-${{ matrix.arch }}.tar.gz > openclaw-linux-${{ matrix.arch }}.tar.gz.sha256
42
43 - name: Upload Release Assets
44 uses: softprops/action-gh-release@v2
45 if: startsWith(github.ref, 'refs/tags/')
46 with:
47 files: |
48 openclaw-linux-${{ matrix.arch }}.tar.gz
49 openclaw-linux-${{ matrix.arch }}.tar.gz.sha256
50 env:
51 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}