adding more build info to the README and bumping version - v2

This commit is contained in:
James Twose
2026-03-14 20:56:02 +00:00
parent 3ddf854123
commit 2efc785694
3 changed files with 43 additions and 40 deletions
+39 -36
View File
@@ -12,63 +12,66 @@ jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false # Ensures one OS failing doesn't kill the others
matrix: matrix:
include: include:
- os: windows-latest - os: windows-latest
command: npm run electron:build:win command: npm run electron:build:win
artifact: release/*.exe artifact_pattern: "release/*.exe"
env:
CSC_IDENTITY_AUTO_DISCOVERY: false
WIN_CSC_LINK: ''
- os: macos-latest - os: macos-latest
command: npm run electron:build:mac -- --universal # Added --universal here if you want to support both Intel and Apple Silicon
artifact: release/*.dmg command: npm run electron:build:mac -- --universal
env: artifact_pattern: "release/*.dmg"
CSC_IDENTITY_AUTO_DISCOVERY: false
- os: ubuntu-latest - os: ubuntu-latest
command: npm run electron:build:linux command: npm run electron:build:linux
artifact: release/*.AppImage artifact_pattern: "release/*.AppImage"
env:
CSC_IDENTITY_AUTO_DISCOVERY: false env:
# This fixes the "GitHub Personal Access Token is not set" error
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Prevents errors related to missing code-signing certificates
CSC_IDENTITY_AUTO_DISCOVERY: false
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 20
- run: npm install cache: 'npm'
- name: Build (Windows)
if: matrix.os == 'windows-latest'
run: ${{ matrix.command }}
env:
CSC_IDENTITY_AUTO_DISCOVERY: false
WIN_CSC_LINK: ''
- name: Build (mac/linux) - name: Install dependencies
if: matrix.os != 'windows-latest' run: npm install
- name: Build Application
run: ${{ matrix.command }} run: ${{ matrix.command }}
env:
CSC_IDENTITY_AUTO_DISCOVERY: false - name: Upload Artifacts
- name: Upload build artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.os }}-artifacts name: artifacts-${{ matrix.os }}
path: ${{ matrix.artifact }} path: ${{ matrix.artifact_pattern }}
if-no-files-found: ignore if-no-files-found: error
publish: publish:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Download all artifacts
- name: Download all build artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
- name: Aggregate artifacts with:
run: | # This downloads all "artifacts-*" into a folder named 'all-outputs'
mkdir -p release_all path: all-outputs
find . -type f \( -name "*.dmg" -o -name "*.AppImage" -o -name "*.exe" -o -name "*.deb" \) -exec cp {} release_all/ \; merge-multiple: true
- name: List aggregated artifacts
run: ls -la release_all || true - name: List files for debugging
- name: Create GitHub Release with all artifacts run: ls -R all-outputs
- name: Create GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: release_all/* # Point directly to the folder where all OS builds are merged
files: all-outputs/*
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "jambuddy", "name": "jambuddy",
"version": "0.6.1", "version": "0.6.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "jambuddy", "name": "jambuddy",
"version": "0.6.1", "version": "0.6.2",
"dependencies": { "dependencies": {
"audiomotion-analyzer": "^4.5.4", "audiomotion-analyzer": "^4.5.4",
"pitchy": "^4.1.0", "pitchy": "^4.1.0",
+2 -2
View File
@@ -1,7 +1,7 @@
{ {
"name": "jambuddy", "name": "jambuddy",
"description": "A jam session companion app that provides a chromatic tuner, chord progressions, and more.", "description": "A jam session companion app that provides a chromatic tuner, chord progressions, and more.",
"version": "0.6.1", "version": "0.6.2",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "electron/main.cjs", "main": "electron/main.cjs",
@@ -13,7 +13,7 @@
"electron:build": "vite build && electron-builder", "electron:build": "vite build && electron-builder",
"electron:build:win": "vite build && electron-builder --win --publish never", "electron:build:win": "vite build && electron-builder --win --publish never",
"electron:build:mac": "vite build && electron-builder --mac --publish never", "electron:build:mac": "vite build && electron-builder --mac --publish never",
"electron:build:linux": "vite build && electron-builder --linux" "electron:build:linux": "vite build && electron-builder --linux --publish never"
}, },
"dependencies": { "dependencies": {
"audiomotion-analyzer": "^4.5.4", "audiomotion-analyzer": "^4.5.4",