Skip to content

Commit

Permalink
Add StudioRack metadata and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kmturley committed Oct 5, 2022
1 parent ef3e320 commit 120f6b9
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
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 }}
file_name: sams-sonor

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 }}
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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+https://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": "Sam Greene",
"homepage": "https://github.com/sfzinstruments/SamsSonor",
"name": "Sam's Sonor",
"description": "Sonor Force 3001 drum kit sampled with 4 velocity levels for each part.",
"tags": [
"Instrument",
"Drums",
"Kit",
"sfz"
],
"version": "1.0.0",
"id": "sams-sonor",
"date": "2021-08-21T07:00:00.000Z",
"files": {
"audio": {
"name": "sams-sonor.flac",
"size": 207120
},
"image": {
"name": "sams-sonor.jpg",
"size": 239836
},
"linux": {
"name": "sams-sonor.zip",
"size": 36642874
},
"mac": {
"name": "sams-sonor.zip",
"size": 36642874
},
"win": {
"name": "sams-sonor.zip",
"size": 36642874
}
}
}
]
}
Binary file added sams-sonor.flac
Binary file not shown.
Binary file added sams-sonor.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 120f6b9

Please sign in to comment.