-
Notifications
You must be signed in to change notification settings - Fork 86
40 lines (35 loc) · 1 KB
/
release-windows.yml
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
name: Release binaries for Windows
on:
push:
tags:
- "v*.*.*"
env:
CARGO_TERM_COLOR: always
jobs:
release-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: install Tauri
run: cargo install tauri-cli --profile dev
- name: npm install (desktop)
working-directory: desktop
run: npm install
- name: npm install (librqbit/webui)
working-directory: crates/librqbit/webui
run: npm install
- name: cargo tauri build
working-directory: desktop
run: cargo tauri build --ci
- uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
target/release/bundle/msi/rqbit-desktop_*_x64_en-US.msi
- name: Build release
run: cargo build --profile release-github
- uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
target/release-github/rqbit.exe