diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5eeba31..d807ff2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -184,10 +184,10 @@ jobs: sudo killall -9 AudioComponentRegistrar auval -v aumu samp Sfzt - name: Package bundles - # if: ${{ github.ref_type == 'tag' }} + if: github.ref_type == 'tag' || github.event_name == 'pull_request' run: ./scripts/package-osx-bundles.sh - name: Create installer - # if: ${{ github.ref_type == 'tag' }} + if: github.ref_type == 'tag' || github.event_name == 'pull_request' working-directory: ${{ github.workspace }}/build run: | options=( @@ -199,7 +199,7 @@ jobs: ) productbuild "${options[@]}" - name: Upload - # if: ${{ github.ref_type == 'tag' }} + if: github.ref_type == 'tag' || github.event_name == 'pull_request' uses: actions/upload-artifact@v3 with: name: macOS package @@ -263,11 +263,11 @@ jobs: working-directory: ${{ github.workspace }}/build run: pluginval --validate-in-process --validate sfizz.vst3 - name: Create installer - # if: ${{ github.ref_type == 'tag' }} + if: github.ref_type == 'tag' || github.event_name == 'pull_request' working-directory: ${{ github.workspace }}/build run: iscc /O"." /F"${{ env.install_name }}" /dARCH="${{ matrix.platform }}" innosetup.iss - name: Upload - # if: ${{ github.ref_type == 'tag' }} + if: github.ref_type == 'tag' || github.event_name == 'pull_request' uses: actions/upload-artifact@v3 with: name: ${{ matrix.pkg_platform }} installer