-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (41 loc) · 1.2 KB
/
Copy pathrelease-windows.yml
File metadata and controls
50 lines (41 loc) · 1.2 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
name: Release (Windows)
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust build
uses: swatinem/rust-cache@v2
with:
workspaces: ". -> target"
- name: Install frontend dependencies
run: npm ci
- name: Build and release
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: ${{ github.ref_name }}
releaseName: "ZipRS ${{ github.ref_name }}"
releaseBody: |
ZipRS ${{ github.ref_name }} — a fast, modern archive manager built with Rust.
**Downloads**
- Windows: `.exe` (NSIS installer)
- Linux: `.AppImage` (portable), `.deb` (Debian/Ubuntu), `.rpm` (Fedora/openSUSE)
releaseDraft: false
prerelease: false
args: --bundles nsis