-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (37 loc) · 984 Bytes
/
release.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
name: Release
on:
push:
tags: ["v*.*.*"]
jobs:
release:
runs-on: windows-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Set up Task
run: go install github.com/go-task/task/v3/cmd/task@latest
- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Setup
run: task setup
- name: Build CLI
run: task build-cli -- --release
- name: Build
run: task build
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
target/release/Xpic.exe
target/release/xpic-cli.exe
target/release/bundle/msi/*.msi
target/release/bundle/nsis/*.exe