Skip to content

Commit b387a28

Browse files
committed
github ci build
1 parent 1c663ce commit b387a28

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build release binaries
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v4
15+
16+
- name: Install Rust toolchain
17+
uses: dtolnay/rust-toolchain@stable
18+
with:
19+
toolchain: stable
20+
21+
- name: Build workspace
22+
run: cargo build --release --locked --workspace
23+
24+
- name: Stage release artifacts
25+
run: |
26+
mkdir -p release-artifacts
27+
cp target/release/flo release-artifacts/
28+
cp target/release/camshow release-artifacts/
29+
30+
- name: Upload release artifacts
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: flo-release-binaries-linux
34+
path: release-artifacts/
35+
if-no-files-found: error

0 commit comments

Comments
 (0)