Skip to content

Commit c3641e0

Browse files
committed
release workflow
1 parent f5222fd commit c3641e0

File tree

2 files changed

+86
-1
lines changed

2 files changed

+86
-1
lines changed

.github/workflows/release.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
workflow_dispatch:
8+
9+
jobs:
10+
release:
11+
permissions:
12+
contents: write
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- platform: "macos-latest"
18+
args: "--target aarch64-apple-darwin"
19+
- platform: "macos-latest"
20+
args: "--target x86_64-apple-darwin"
21+
- platform: "ubuntu-22.04"
22+
args: ""
23+
- platform: "windows-latest"
24+
args: ""
25+
26+
runs-on: ${{ matrix.platform }}
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
31+
- name: Install dependencies (Ubuntu only)
32+
if: matrix.platform == 'ubuntu-22.04'
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
36+
37+
- name: Setup Node.js
38+
uses: actions/setup-node@v4
39+
with:
40+
node-version: "lts/*"
41+
42+
- name: Install pnpm
43+
uses: pnpm/action-setup@v4
44+
with:
45+
version: 9
46+
47+
- name: Install Rust stable
48+
uses: dtolnay/rust-action@stable
49+
with:
50+
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
51+
52+
- name: Install frontend dependencies
53+
run: pnpm install
54+
55+
- name: Build the app
56+
uses: tauri-apps/tauri-action@v0
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
with:
60+
tagName: ${{ github.ref_name }}
61+
releaseName: "SpeedHive v__VERSION__"
62+
releaseBody: "See the assets below to download and install SpeedHive for your platform."
63+
releaseDraft: true
64+
prerelease: false
65+
args: ${{ matrix.args }}

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,24 @@ A desktop application focused on accurate and lightweight internet speed measure
1515

1616
---
1717

18+
## 📥 Installation
19+
20+
**Just want to use SpeedHive?** Download the latest version for your platform — no coding required!
21+
22+
👉 **[Download from Releases](../../releases/latest)**
23+
24+
| Platform | File to Download | How to Install |
25+
| ------------------------- | -------------------------------- | ------------------------------ |
26+
| **Windows** | `SpeedHive_x.x.x_x64-setup.exe` | Run the installer |
27+
| **macOS (Intel)** | `SpeedHive_x.x.x_x64.dmg` | Open DMG, drag to Applications |
28+
| **macOS (Apple Silicon)** | `SpeedHive_x.x.x_aarch64.dmg` | Open DMG, drag to Applications |
29+
| **Linux (Debian/Ubuntu)** | `SpeedHive_x.x.x_amd64.deb` | `sudo dpkg -i SpeedHive_*.deb` |
30+
| **Linux (Other)** | `SpeedHive_x.x.x_amd64.AppImage` | Make executable and run |
31+
32+
> 💡 **Tip:** On macOS, if you see "app is damaged", run: `xattr -cr /Applications/SpeedHive.app`
33+
34+
---
35+
1836
## 📊 How Speed Measurement Works
1937

2038
### Download Speed
@@ -46,7 +64,9 @@ Upload speed is measured by sending data to a remote server and tracking how muc
4664

4765
---
4866

49-
## 📦 Getting Started
67+
## 🛠️ Development Setup
68+
69+
> **For developers** who want to build from source or contribute to SpeedHive.
5070
5171
### Prerequisites
5272

0 commit comments

Comments
 (0)