15 Commits

Author SHA1 Message Date
c6df01061a revert: restore RPM target 2025-11-12 07:13:00 +11:00
720fdf8946 fix: remove RPM target (requires rpmbuild on runner) 2025-11-12 07:12:25 +11:00
e3f4bfc7e2 fix: use OS labels to distinguish self-hosted runners 2025-11-12 07:07:03 +11:00
4d3d616574 fix: add GH_TOKEN to build steps for electron-builder 2025-11-12 07:04:52 +11:00
93d0da3496 chore: use self-hosted runner for Linux builds 2025-11-12 07:01:51 +11:00
761b1574e7 fix: remove snap target to avoid publishing issues 2025-11-12 06:56:30 +11:00
953c22bec3 chore: use self-hosted runner for Windows builds 2025-11-12 06:54:40 +11:00
acf4b8d8b7 chore: add author website 2025-11-12 06:43:48 +11:00
fe38e7e8f2 fix: add author email and disable snap publishing 2025-11-12 06:42:57 +11:00
e16abd7370 fix: add PNG icon for Linux builds 2025-11-12 06:38:44 +11:00
9ade1cc7dd fix: only build on tags, not every push 2025-11-12 06:37:05 +11:00
7ecb65153c fix: use icon.ico for Linux builds 2025-11-12 06:35:18 +11:00
65dadc9e3f chore: consolidate to single build workflow 2025-11-12 06:34:22 +11:00
9e487fed7b fix: update dependency installation method in build workflow 2025-11-12 06:29:45 +11:00
e16b069ddd chore: bump version to 0.5.2 2025-11-12 06:28:24 +11:00
5 changed files with 15 additions and 119 deletions

View File

@@ -2,16 +2,13 @@ name: Build All Platforms
on:
push:
branches: [main]
tags:
- 'v*'
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-latest
runs-on: [self-hosted, windows]
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -20,13 +17,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
run: npm install
- name: Build Windows
run: npm run dist:win
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Windows artifacts
uses: actions/upload-artifact@v4
@@ -35,7 +33,7 @@ jobs:
path: release/*.exe
build-linux:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux]
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -44,13 +42,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
run: npm install
- name: Build Linux
run: npm run dist:linux
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Linux artifacts
uses: actions/upload-artifact@v4
@@ -60,7 +59,6 @@ jobs:
release/*.AppImage
release/*.deb
release/*.rpm
release/*.snap
release:
needs: [build-windows, build-linux]
@@ -85,7 +83,6 @@ jobs:
*.AppImage
*.deb
*.rpm
*.snap
draft: false
prerelease: false
env:

View File

@@ -1,66 +0,0 @@
name: Build Linux
on:
push:
branches: [main]
tags:
- 'v*'
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build Linux packages
run: npm run dist:linux
- name: Upload AppImage
uses: actions/upload-artifact@v4
with:
name: linux-appimage
path: release/*.AppImage
- name: Upload DEB
uses: actions/upload-artifact@v4
with:
name: linux-deb
path: release/*.deb
- name: Upload RPM
uses: actions/upload-artifact@v4
with:
name: linux-rpm
path: release/*.rpm
- name: Upload Snap
uses: actions/upload-artifact@v4
with:
name: linux-snap
path: release/*.snap
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
release/*.AppImage
release/*.deb
release/*.rpm
release/*.snap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,29 +0,0 @@
name: Build/release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: windows-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
github_token: ${{ secrets.github_token }}
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
args: --win

BIN
build/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

View File

@@ -1,8 +1,12 @@
{
"name": "audio-sort",
"version": "0.5.0",
"version": "0.5.2",
"description": "Electron audio sorting application with fuzzy search, tagging, library management, and advanced waveform editing with audio splitting capabilities for WAV files.",
"author": "litruv",
"author": {
"name": "litruv",
"email": "litruv@example.com",
"url": "https://lit.ruv.wtf"
},
"main": "dist/main/main/index.js",
"type": "commonjs",
"scripts": {
@@ -72,8 +76,7 @@
"target": [
"AppImage",
"deb",
"rpm",
"snap"
"rpm"
],
"icon": "build/icon.png",
"category": "AudioVideo",
@@ -83,15 +86,6 @@
"audio/x-wav"
]
},
"snap": {
"summary": "Audio sorting and management application",
"plugs": [
"default",
"audio-playback",
"home",
"removable-media"
]
},
"extraResources": [
{
"from": "data/UCS.csv",