diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e611a382..1ea14676 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -105,7 +105,7 @@ jobs: name: cboe-${{ matrix.os.name }}${{ matrix.os.suffix }}-${{ matrix.configuration }}-unsigned path: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }}${{ matrix.os.suffix }}-${{ matrix.configuration }}-unsigned.tar' - name: Codesign and notarize - run: './.github/workflows/scripts/mac/sign-apps.sh' + run: 'NOTARIZE="no" ./.github/workflows/scripts/mac/sign-apps.sh' if: ${{ matrix.os.name == 'macos' }} - name: 'Tar files' run: 'tar -cvf cboe-${{ matrix.os.name }}${{ matrix.os.suffix }}-${{ matrix.configuration }}.tar "Blades of Exile"' diff --git a/.github/workflows/scripts/mac/sign-apps.sh b/.github/workflows/scripts/mac/sign-apps.sh index 6895ca44..1eba2ef0 100755 --- a/.github/workflows/scripts/mac/sign-apps.sh +++ b/.github/workflows/scripts/mac/sign-apps.sh @@ -36,6 +36,10 @@ sign() { /usr/bin/codesign --force -s "$PROD_MACOS_CERTIFICATE_NAME" --options runtime "$APP_PATH" -v # NOTARIZATION STEP + if [ "$NOTARIZE" = "no" ]; + then + return + fi # (same source) # Store the notarization credentials so that we can prevent a UI password dialog