-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (48 loc) · 1.65 KB
/
Copy pathrelease.yml
File metadata and controls
60 lines (48 loc) · 1.65 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
58
59
60
name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: windows-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust dependencies
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
- name: Install frontend dependencies
run: npm ci
- name: Build Tauri app
run: npm run tauri build
- name: Upload release assets
uses: softprops/action-gh-release@v2
with:
name: ${{ github.ref_name }}
draft: false
prerelease: false
generate_release_notes: true
body: |
## IPI Stay Fly Driver ${{ github.ref_name }}
Open-source replacement driver for the **IPI FLY PRO** wireless gaming mouse.
### Requirements
- Windows 10/11 (64-bit)
- WebView2 runtime (pre-installed on Windows 11; [download for Windows 10](https://developer.microsoft.com/en-us/microsoft-edge/webview2/))
### Installation
Download the portable **IPI FLY PRO Driver.exe** or use the Windows installer from the release assets.
files: |
src-tauri/target/release/IPI FLY PRO Driver.exe
src-tauri/target/release/bundle/nsis/IPI FLY PRO Driver_*.exe
src-tauri/target/release/bundle/msi/IPI FLY PRO Driver_*.msi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}