Skip to content

Commit

Permalink
StudioRack metadata and release
Browse files Browse the repository at this point in the history
  • Loading branch information
kmturley committed Sep 25, 2022
1 parent 302dbb4 commit 5020dc6
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
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: hungarian-zither

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 .
Binary file added hungarian-zither.flac
Binary file not shown.
Binary file added hungarian-zither.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"plugins": [
{
"author": "DSmolken",
"homepage": "https://github.com/sfzinstruments/hungarian_zither",
"name": "Hungarian Zither",
"description": "Hungarian 'prime' zither. A rectangular instrument with over a dozen strings, mostly tuned to G, with two melody courses and the rest as drones.",
"tags": [
"Instrument",
"Strings",
"Classical",
"sfz"
],
"version": "1.0.0",
"id": "hungarian-zither",
"date": "2022-09-13T07:00:00.000Z",
"files": {
"audio": {
"name": "hungarian-zither.flac",
"size": 172274
},
"image": {
"name": "hungarian-zither.jpg",
"size": 88693
},
"linux": {
"name": "hungarian-zither.zip",
"size": 181711154
},
"mac": {
"name": "hungarian-zither.zip",
"size": 181711154
},
"win": {
"name": "hungarian-zither.zip",
"size": 181711154
}
}
}
]
}

0 comments on commit 5020dc6

Please sign in to comment.