-
Notifications
You must be signed in to change notification settings - Fork 89
57 lines (47 loc) · 1.23 KB
/
build-cli.yml
File metadata and controls
57 lines (47 loc) · 1.23 KB
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
56
57
name: Build Single Executable Tool
on:
workflow_dispatch:
push:
branches:
- main
- dev
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Setup Node # some CI steps require node
uses: actions/setup-node@v6
with:
node-version: "24"
cache: "npm"
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Reset node_modules
run: rm -rf node_modules
- name: Build binaries
run: bun run build:all
- name: Upload linux-x64
uses: actions/upload-artifact@v6
with:
name: linux-x64
path: build/Release/igf-linux-x64
- name: Upload windows-x64
uses: actions/upload-artifact@v6
with:
name: windows-x64
path: build/Release/igf-windows-x64.exe
- name: Upload darwin-x64
uses: actions/upload-artifact@v6
with:
name: darwin-x64
path: build/Release/igf-darwin-x64
- name: Upload darwin-arm64
uses: actions/upload-artifact@v6
with:
name: darwin-arm64
path: build/Release/igf-darwin-arm64