diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 0f0f9f0..c09c829 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -33,10 +33,9 @@ jobs: path: | ${{github.workspace}}/build/blocks_artefacts/Release/Standalone ${{github.workspace}}/build/blocks_artefacts/Release/VST3 - ${{github.workspace}}/build/blocks_artefacts/Release/LV2 upload-to-s3: needs: build uses: ./.github/workflows/upload-to-s3.yml secrets: inherit - with: + with: file-name: blocks_linux diff --git a/.github/workflows/build-macos-13.yml b/.github/workflows/build-macos-13.yml index 28d6643..60fe48d 100644 --- a/.github/workflows/build-macos-13.yml +++ b/.github/workflows/build-macos-13.yml @@ -32,21 +32,18 @@ jobs: codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app --deep --strict --options=runtime --timestamp codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/AU/blocks.component --deep --strict --options=runtime --timestamp codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3 --deep --strict --options=runtime --timestamp - codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2 --deep --strict --options=runtime --timestamp - name: Create DMG, Notarize and Staple (macOS) run: | npm install -g appdmg mkdir -p packaging/dmg # Create directories for the dmg symlinks - sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/lv2 && sudo mkdir -m 755 -p /Applications + sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 && sudo mkdir -m 755 -p /Applications ln -s /Library/Audio/Plug-Ins/Components "packaging/dmg/Your Mac's Component folder" ln -s /Library/Audio/Plug-Ins/VST3 "packaging/dmg/Your Mac's VST3 folder" - ln -s /Library/Audio/Plug-Ins/LV2 "packaging/dmg/Your Mac's LV2 folder" ln -s /Applications "packaging/dmg/Your Mac's Applications folder" mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3" packaging/dmg - mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2" packaging/dmg mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/AU/blocks.component" packaging/dmg mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app" packaging/dmg diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index b279e71..47ac232 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -34,21 +34,18 @@ jobs: codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app --deep --strict --options=runtime --timestamp codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/AU/blocks.component --deep --strict --options=runtime --timestamp codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3 --deep --strict --options=runtime --timestamp - codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2 --deep --strict --options=runtime --timestamp - name: Create DMG, Notarize and Staple (macOS) run: | npm install -g appdmg mkdir -p packaging/dmg # Create directories for the dmg symlinks - sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/LV2 && sudo mkdir -m 755 -p /Applications + sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 && sudo mkdir -m 755 -p /Applications ln -s /Library/Audio/Plug-Ins/Components "packaging/dmg/Your Mac's Component folder" ln -s /Library/Audio/Plug-Ins/VST3 "packaging/dmg/Your Mac's VST3 folder" - ln -s /Library/Audio/Plug-Ins/LV2 "packaging/dmg/Your Mac's LV2 folder" ln -s /Applications "packaging/dmg/Your Mac's Applications folder" mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3" packaging/dmg - mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2" packaging/dmg mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/AU/blocks.component" packaging/dmg mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app" packaging/dmg @@ -66,5 +63,5 @@ jobs: needs: build uses: ./.github/workflows/upload-to-s3.yml secrets: inherit - with: - file-name: blocks_mac.dmg + with: + file-name: blocks_mac.dmg \ No newline at end of file