Skip to content

Commit 3cd01cb

Browse files
committed
Revert "Updated build plugin to work with Rack SDK 2.6.0"
This reverts commit 6b59b0e.
1 parent 6b59b0e commit 3cd01cb

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/build-plugin.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build VCV Rack Plugin
22
on: [push, pull_request]
33

44
env:
5-
rack-sdk-version: 2.6.0
5+
rack-sdk-version: latest
66
rack-plugin-toolchain-dir: /home/build/rack-plugin-toolchain
77

88
defaults:
@@ -53,13 +53,10 @@ jobs:
5353
export PLUGIN_DIR=$GITHUB_WORKSPACE
5454
pushd ${{ env.rack-plugin-toolchain-dir }}
5555
make plugin-build-${{ matrix.platform }}
56-
cd plugin-build && sha256sum *.vcvplugin > checksum_${{ matrix.platform }}.txt && cd ..
5756
- name: Upload artifact
5857
uses: actions/upload-artifact@v4
5958
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
6360
name: ${{ matrix.platform }}
6461

6562
build-mac:
@@ -82,7 +79,7 @@ jobs:
8279
- name: Get Rack-SDK
8380
run: |
8481
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
8683
unzip Rack-SDK.zip
8784
- name: Build plugin
8885
run: |
@@ -92,21 +89,17 @@ jobs:
9289
export CROSS_COMPILE=$CROSS_COMPILE_TARGET_${{ matrix.platform }}
9390
make dep
9491
make dist
95-
cd dist && shasum -a 256 *.vcvplugin > checksum_mac-${{ matrix.platform }}.txt && cd ..
9692
- name: Upload artifact
9793
uses: actions/upload-artifact@v4
9894
with:
99-
path: |
100-
dist/*.vcvplugin
101-
dist/checksum_*.txt
95+
path: dist/*.vcvplugin
10296
name: mac-${{ matrix.platform }}
10397

104-
10598
publish:
10699
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
108101
# 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')
110103
runs-on: ubuntu-latest
111104
needs: [build, build-mac]
112105
steps:

0 commit comments

Comments
 (0)