commit ab2884865631d06a9d8e2917e2f4263758d9241e
parent 08d20f27817bfac37cd239f7c4fef049653d3fab
Author: AdamPorcineFudgepuppy <>
Date: Fri, 29 Mar 2024 10:47:15 -0500
fix yml
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml
@@ -25,7 +25,7 @@ jobs:
os: macos-latest,
prepare-os: ""
}
- - {
+ - {
name: MacOS-arm,
os: macos-latest,
prepare-os: ""
@@ -42,6 +42,7 @@ jobs:
- name: Add SHORT_SHA env property with commit short sha
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
+
- name: Patch plugin.mk, use 7zip on Windows
if: runner.os == 'Windows'
run: |
@@ -49,24 +50,28 @@ jobs:
curl -o Rack-SDK.zip https://vcvrack.com/downloads/Rack-SDK-${{ env.rack-sdk-version }}-win-x64.zip
unzip Rack-SDK.zip
sed -i 's/zip -q -9 -r/7z a -tzip -mx=9/' $HOME/Rack-SDK/plugin.mk
+
- name: Get Mac SDK
if: runner.os == 'MacOS'
run: |
pushd $HOME
curl -o Rack-SDK.zip https://vcvrack.com/downloads/Rack-SDK-${{ env.rack-sdk-version }}-mac-x64.zip
unzip Rack-SDK.zip
+
- name: Get Mac arm SDK
if: runner.os == 'MacOS-arm'
run: |
pushd $HOME
curl -o Rack-SDK.zip https://vcvrack.com/downloads/Rack-SDK-${{ env.rack-sdk-version }}-mac-arm64.zip
unzip Rack-SDK.zip
+
- name: Get Linux SDK
if: runner.os == 'Linux'
run: |
pushd $HOME
curl -o Rack-SDK.zip https://vcvrack.com/downloads/Rack-SDK-${{ env.rack-sdk-version }}-lin-x64.zip
unzip Rack-SDK.zip
+
- name: Modify plugin version
# only modify plugin version if no tag was created
if: "! startsWith(github.ref, 'refs/tags/v')"
@@ -75,12 +80,14 @@ jobs:
pluginversion=`jq -r '.version' plugin.json`
echo "Set plugin version from $pluginversion to $pluginversion-$gitrev"
cat <<< `jq --arg VERSION "$pluginversion-$gitrev" '.version=$VERSION' plugin.json` > plugin.json
+
- name: Build plugin
run: |
${{ matrix.config.prepare-os }}
export RACK_DIR=$HOME/Rack-SDK
make -j dep
make -j dist
+
- name: Upload artifact
uses: actions/upload-artifact@v4
with: