PlayPiano: pianoforte virtuale a 88 tasti con app desktop
App web a file singolo con pianoforte campionato, spartiti MIDI e MusicXML, pentagramma, cascata di note, modalità apprendimento, compositore di idee, generatore di accordi e idee con IA locale tramite Ollama. Include il contenitore Electron e il flusso GitHub Actions per i pacchetti macOS, Windows e Linux.
This commit is contained in:
commit
7a4ee5de28
44 files changed
+5401
No files matched your search
@@ -0,0 +1,44 @@
|
||||
# Costruisce i pacchetti desktop su macchine native di GitHub.
|
||||
# Si avvia a mano (Actions > Pacchetti desktop > Run workflow) oppure pubblicando un tag "v*",
|
||||
# nel qual caso i pacchetti vengono anche allegati a una Release.
|
||||
name: Pacchetti desktop
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags: ["v*"]
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- { os: windows-latest, name: windows, args: "--win nsis portable --x64" }
|
||||
- { os: ubuntu-latest, name: linux, args: "--linux AppImage --x64" }
|
||||
- { os: macos-latest, name: macos, args: "--mac" }
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- run: npx electron-builder ${{ matrix.args }} --publish never
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: PlayPiano-${{ matrix.name }}
|
||||
if-no-files-found: error
|
||||
path: |
|
||||
dist/*.exe
|
||||
dist/*.dmg
|
||||
dist/*.AppImage
|
||||
- name: Allega alla Release
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
dist/*.exe
|
||||
dist/*.dmg
|
||||
dist/*.AppImage
|
||||
Reference in new issue
Block a user