@@ -64,15 +64,15 @@ jobs:
64
64
# This needs to be absolute to make action/cache happy
65
65
WORKING_DIR=$(pwd)
66
66
echo "PLUGIN_CACHE_PATH=$WORKING_DIR/modules/juce/Builds/examples/Plugins" >> $GITHUB_ENV
67
-
67
+
68
68
- name : Install dependencies (Linux)
69
69
if : ${{ matrix.name == 'Linux' }}
70
70
run : |
71
71
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
72
72
sudo apt-get update
73
73
sudo apt-get install -y freeglut3-dev g++ libasound2-dev libcurl4-openssl-dev libfreetype6-dev libjack-jackd2-dev libx11-dev libxcomposite-dev libxcursor-dev libxinerama-dev libxrandr-dev mesa-common-dev ladspa-sdk webkit2gtk-4.0 libgtk-3-dev xvfb
74
74
sudo /usr/bin/Xvfb $DISPLAY &
75
-
75
+
76
76
- name : Make VST2 SDK available
77
77
shell : bash
78
78
run : |
@@ -111,11 +111,11 @@ jobs:
111
111
- name : Cache JUCE example plugin binaries
112
112
id : cache-plugins
113
113
uses : actions/cache@v3
114
- with :
114
+ with :
115
115
path : ${{ env.PLUGIN_CACHE_PATH }}
116
116
# Increment the version in the key below to manually break plugin cache
117
117
key : v7-${{ runner.os }}-${{ env.JUCE_SHA1 }}
118
-
118
+
119
119
- name : Build JUCE example plugins
120
120
if : steps.cache-plugins.outputs.cache-hit != 'true'
121
121
working-directory : modules/juce
@@ -144,11 +144,11 @@ jobs:
144
144
cp -R ${{ env.PLUGIN_CACHE_PATH }}/DSPModulePluginDemo_artefacts/Release/AU/DSPModulePluginDemo.component ~/Library/Audio/Plug-Ins/Components/
145
145
killall -9 AudioComponentRegistrar # kick the AU registrar
146
146
${{ env.APP_DIR }}/${{ matrix.test-binary }} --strictness-level 10 --validate ~/Library/Audio/Plug-Ins/Components/DSPModulePluginDemo.component
147
-
147
+
148
148
- name : Codesign (macOS)
149
149
if : ${{ matrix.name == 'macOS' }}
150
150
run : codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION}}" -v ${{ env.APP_DIR }}/${{ matrix.app }} --entitlements ${{ env.BUILD_DIR }}/${{ env.BINARY_NAME }}_artefacts/JuceLibraryCode/${{ env.BINARY_NAME }}.entitlements --deep --strict --options=runtime --timestamp
151
-
151
+
152
152
- name : " Notarize and staple (macOS)"
153
153
if : ${{ matrix.name == 'macOS' }}
154
154
working-directory : ${{ env.APP_DIR }}
@@ -157,17 +157,17 @@ jobs:
157
157
xcrun notarytool submit ${{ env.ZIP_FILE_NAME }} --apple-id ${{ secrets.NOTARIZATION_USERNAME }} --password ${{ secrets.NOTARIZATION_PASSWORD }} --team-id ${{ secrets.TEAM_ID }} --wait
158
158
xcrun stapler staple ${{ matrix.app }}
159
159
rm ${{ env.ZIP_FILE_NAME }}
160
-
160
+
161
161
- name : Create zip files
162
162
working-directory : ${{ env.APP_DIR }}
163
163
run : 7z a -aoa -tzip ${{ env.ZIP_FILE_NAME }} ${{ matrix.app }}
164
-
164
+
165
165
- name : Upload zip files
166
166
uses : actions/upload-artifact@v4
167
167
with :
168
168
name : ${{ env.ZIP_FILE_NAME }}
169
169
path : ${{ env.APP_DIR }}/${{ env.ZIP_FILE_NAME }}
170
-
170
+
171
171
# Create release for tagged refs
172
172
deploy :
173
173
if : contains(github.ref, 'tags/v')
@@ -176,7 +176,7 @@ jobs:
176
176
steps :
177
177
# Needed to grab CHANGELIST.md
178
178
- uses : actions/checkout@v3
179
-
179
+
180
180
- name : Get Artifacts
181
181
uses : actions/download-artifact@v3
182
182
with :
@@ -186,10 +186,9 @@ jobs:
186
186
run : ls -la
187
187
188
188
- name : Create Release
189
- uses : softprops/action-gh-release@v1
189
+ uses : softprops/action-gh-release@v2
190
190
with :
191
191
body_path : CHANGELIST.md
192
- draft : true
193
192
files : |
194
193
CHANGELIST.md/*
195
194
pluginval_Linux.zip/*
0 commit comments