diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..d06e213 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,44 @@ +name: Release + +on: + workflow_dispatch: + push: + tags: + - "v*" + +jobs: + create_release: + name: Create release + runs-on: ubuntu-latest + outputs: + upload_id: ${{ steps.draft_release.outputs.id }} + upload_url: ${{ steps.draft_release.outputs.upload_url }} + steps: + - name: Draft release + id: draft_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: true + + build_release: + name: Build release + needs: create_release + uses: studiorack/studiorack-workflows/.github/workflows/sfz.yml@main + with: + release_id: ${{ needs.create_release.outputs.upload_id }} + release_url: ${{ needs.create_release.outputs.upload_url }} + + publish_release: + name: Publish release + needs: [create_release, build_release] + runs-on: ubuntu-latest + steps: + - uses: eregon/publish-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + release_id: ${{ needs.create_release.outputs.upload_id }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4a808db --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Test + +on: + push: + +jobs: + test_code: + name: Test code + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install + run: | + pip install git+git://github.com/jisaacstone/sfzlint.git + - name: Lint + run: | + sfzlint . diff --git a/plugins.json b/plugins.json new file mode 100644 index 0000000..d804a39 --- /dev/null +++ b/plugins.json @@ -0,0 +1,41 @@ +{ + "plugins": [ + { + "author": "Akai", + "homepage": "https://sfzinstruments.github.io/pianos/splendid_grand_piano", + "name": "Splendid Grand Piano", + "description": "Steinway piano with 4 velocity layers", + "tags": [ + "Instrument", + "Keys", + "Piano", + "sfz" + ], + "version": "1.0.0", + "id": "splendid-grand-piano", + "date": "2022-01-02T07:00:00.000Z", + "files": { + "audio": { + "name": "splendid-grand-piano.flac", + "size": 69723 + }, + "image": { + "name": "splendid-grand-piano.jpg", + "size": 171264 + }, + "linux": { + "name": "splendid-grand-piano.zip", + "size": 74736682 + }, + "mac": { + "name": "splendid-grand-piano.zip", + "size": 74736682 + }, + "win": { + "name": "splendid-grand-piano.zip", + "size": 74736682 + } + } + } + ] +} diff --git a/splendid-grand-piano.flac b/splendid-grand-piano.flac new file mode 100644 index 0000000..f491bef Binary files /dev/null and b/splendid-grand-piano.flac differ diff --git a/splendid-grand-piano.jpg b/splendid-grand-piano.jpg new file mode 100644 index 0000000..58beec9 Binary files /dev/null and b/splendid-grand-piano.jpg differ