@@ -2,7 +2,7 @@ name: Build VCV Rack Plugin
2
2
on : [push, pull_request]
3
3
4
4
env :
5
- rack-sdk-version : 2.6.0
5
+ rack-sdk-version : latest
6
6
rack-plugin-toolchain-dir : /home/build/rack-plugin-toolchain
7
7
8
8
defaults :
@@ -53,13 +53,10 @@ jobs:
53
53
export PLUGIN_DIR=$GITHUB_WORKSPACE
54
54
pushd ${{ env.rack-plugin-toolchain-dir }}
55
55
make plugin-build-${{ matrix.platform }}
56
- cd plugin-build && sha256sum *.vcvplugin > checksum_${{ matrix.platform }}.txt && cd ..
57
56
- name : Upload artifact
58
57
uses : actions/upload-artifact@v4
59
58
with :
60
- path : |
61
- ${{ env.rack-plugin-toolchain-dir }}/plugin-build/*.vcvplugin
62
- ${{ env.rack-plugin-toolchain-dir }}/plugin-build/checksum_*.txt
59
+ path : ${{ env.rack-plugin-toolchain-dir }}/plugin-build
63
60
name : ${{ matrix.platform }}
64
61
65
62
build-mac :
82
79
- name : Get Rack-SDK
83
80
run : |
84
81
pushd $HOME
85
- wget -O Rack-SDK.zip https://vcvrack.com/downloads/Rack-SDK-${{ env.rack-sdk-version }}-mac-${{ matrix.platform }} .zip
82
+ wget -O Rack-SDK.zip https://vcvrack.com/downloads/Rack-SDK-${{ env.rack-sdk-version }}-mac-x64+arm64 .zip
86
83
unzip Rack-SDK.zip
87
84
- name : Build plugin
88
85
run : |
@@ -92,21 +89,17 @@ jobs:
92
89
export CROSS_COMPILE=$CROSS_COMPILE_TARGET_${{ matrix.platform }}
93
90
make dep
94
91
make dist
95
- cd dist && shasum -a 256 *.vcvplugin > checksum_mac-${{ matrix.platform }}.txt && cd ..
96
92
- name : Upload artifact
97
93
uses : actions/upload-artifact@v4
98
94
with :
99
- path : |
100
- dist/*.vcvplugin
101
- dist/checksum_*.txt
95
+ path : dist/*.vcvplugin
102
96
name : mac-${{ matrix.platform }}
103
97
104
-
105
98
publish :
106
99
name : Publish plugin
107
- # only create a release if a tag was created that is called v2.<something> e.g. v2 .2.3
100
+ # only create a release if a tag was created that is called e.g. v1 .2.3
108
101
# see also https://vcvrack.com/manual/Manifest#version
109
- if : startsWith(github.ref, 'refs/tags/v2.') && github.repository_owner == 'rjsmith'
102
+ if : startsWith(github.ref, 'refs/tags/v')
110
103
runs-on : ubuntu-latest
111
104
needs : [build, build-mac]
112
105
steps :
0 commit comments