File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,12 +56,11 @@ jobs:
5656 echo "VERSION=$VERSION" >> $GITHUB_ENV
5757 echo "APP_DIR=${{ env.BUILD_DIR }}/${{ env.BINARY_NAME }}_artefacts/${{ env.BUILD_TYPE }}" >> $GITHUB_ENV
5858 echo "ZIP_FILE_NAME=${{ env.BINARY_NAME }}_${{ matrix.name }}.zip" >> $GITHUB_ENV
59- echo "JUCE_SHA1=$(git rev-parse HEAD:modules/juce)" >> $GITHUB_ENV
60- echo "PLUGIN_BUILD_DIR=modules/juce/Builds" >> $GITHUB_ENV
61-
59+
6260 # This needs to be absolute to make action/cache happy
61+ # CPM fetches JUCE into the build directory's _deps folder
6362 WORKING_DIR=$(pwd)
64- echo "PLUGIN_CACHE_PATH=$WORKING_DIR/_deps/juce-build/examples/Plugins" >> $GITHUB_ENV
63+ echo "PLUGIN_CACHE_PATH=$WORKING_DIR/${{ env.BUILD_DIR }}/ _deps/juce-build/examples/Plugins" >> $GITHUB_ENV
6564
6665 - name : Install dependencies (Linux)
6766 if : ${{ matrix.name == 'Linux' }}
@@ -112,7 +111,7 @@ jobs:
112111 with :
113112 path : ${{ env.PLUGIN_CACHE_PATH }}
114113 # Increment the version in the key below to manually break plugin cache
115- key : v8 -${{ runner.os }}-${{ env.JUCE_SHA1 }}
114+ key : v9 -${{ runner.os }}
116115
117116 - name : Build JUCE example plugins
118117 if : steps.cache-plugins.outputs.cache-hit != 'true'
You can’t perform that action at this time.
0 commit comments