Repository navigation
58 lines (45 loc) · 1.76 KB
/
Copy pathrelease.yml
File metadata and controls
58 lines (45 loc) · 1.76 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
name: Publish Release
on:
push:
tags:
- 'v*.*' # triggers on tags like v1.0, v1.1, v2.0, etc.
permissions:
contents: write
jobs:
release:
name: Create GitHub Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Extract version from tag
id: version
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT
- name: Create GitHub Release (empty — upload assets with gh CLI)
uses: softprops/action-gh-release@v2
with:
name: "OSAlgoCalculator v${{ steps.version.outputs.VERSION }}"
tag_name: ${{ github.ref_name }}
draft: false
prerelease: false
body: |
## OSAlgoCalculator v${{ steps.version.outputs.VERSION }}
A desktop application to visualize and solve core Operating System algorithms. Built with Java and JavaFX.
### 📦 Downloads
| File | Platform | Description |
|------|----------|-------------|
| `osalgocalculator_${{ steps.version.outputs.VERSION }}_amd64.deb` | Ubuntu / Debian | Native installer ✅ Recommended |
| `OSAlgoCalculator-linux-portable.zip` | Any Linux | No installation needed |
### 🚀 Quick Install
**Debian/Ubuntu:**
```bash
sudo dpkg -i osalgocalculator_${{ steps.version.outputs.VERSION }}_amd64.deb
```
**Portable (any Linux):**
```bash
unzip OSAlgoCalculator-linux-portable.zip
./OSAlgoCalculator/bin/OSAlgoCalculator
```
### ✅ System Requirements
- Linux 64-bit (amd64)
- No Java installation required — bundled with the app