Skip to content

Commit

Permalink
CI pipeline, metadata and previews
Browse files Browse the repository at this point in the history
  • Loading branch information
kmturley committed Feb 12, 2022
1 parent 1cb441b commit b39912d
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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 }}
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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 .
41 changes: 41 additions & 0 deletions plugins.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}
]
}
Binary file added splendid-grand-piano.flac
Binary file not shown.
Binary file added splendid-grand-piano.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b39912d

Please sign in to comment.