Skip to content

Commit d5b9377

Browse files
committed
StudioRack metadata and CI
1 parent 063c1f5 commit d5b9377

5 files changed

Lines changed: 106 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- "v*"
8+
9+
jobs:
10+
create_release:
11+
name: Create release
12+
runs-on: ubuntu-latest
13+
outputs:
14+
upload_id: ${{ steps.draft_release.outputs.id }}
15+
upload_url: ${{ steps.draft_release.outputs.upload_url }}
16+
steps:
17+
- name: Draft release
18+
id: draft_release
19+
uses: actions/create-release@v1
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
with:
23+
tag_name: ${{ github.ref }}
24+
release_name: Release ${{ github.ref }}
25+
draft: true
26+
27+
build_release:
28+
name: Build release
29+
needs: create_release
30+
uses: studiorack/studiorack-workflows/.github/workflows/sfz.yml@main
31+
with:
32+
release_id: ${{ needs.create_release.outputs.upload_id }}
33+
release_url: ${{ needs.create_release.outputs.upload_url }}
34+
file_name: basic-harmonica
35+
36+
publish_release:
37+
name: Publish release
38+
needs: [create_release, build_release]
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: eregon/publish-release@v1
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
with:
45+
release_id: ${{ needs.create_release.outputs.upload_id }}

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test_code:
8+
name: Test code
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v2
13+
14+
- name: Install
15+
run: |
16+
pip install git+https://github.com/jisaacstone/sfzlint.git
17+
18+
- name: Lint
19+
run: |
20+
sfzlint .

basic-harmonica.flac

97.8 KB
Binary file not shown.

basic-harmonica.jpg

64.2 KB
Loading

plugins.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"plugins": [
3+
{
4+
"author": "michael02022",
5+
"homepage": "https://github.com/michael02022/basic-harmonica",
6+
"name": "Basic Harmonica",
7+
"description": "Basic harmonica.",
8+
"tags": [
9+
"Instrument",
10+
"Wind",
11+
"Harmonica",
12+
"sfz"
13+
],
14+
"version": "1.0.0",
15+
"id": "basic-harmonica",
16+
"date": "2022-10-07T07:00:00.000Z",
17+
"files": {
18+
"audio": {
19+
"name": "basic-harmonica.flac",
20+
"size": 100197
21+
},
22+
"image": {
23+
"name": "basic-harmonica.jpg",
24+
"size": 65716
25+
},
26+
"linux": {
27+
"name": "basic-harmonica.zip",
28+
"size": 1404185
29+
},
30+
"mac": {
31+
"name": "basic-harmonica.zip",
32+
"size": 1404185
33+
},
34+
"win": {
35+
"name": "basic-harmonica.zip",
36+
"size": 1404185
37+
}
38+
}
39+
}
40+
]
41+
}

0 commit comments

Comments
 (0)