mirror of
https://github.com/royshil/obs-localvocal.git
synced 2026-01-10 04:48:02 -05:00
Try to get failure log if notarization fails
This commit is contained in:
1
.github/actions/package-plugin/action.yaml
vendored
1
.github/actions/package-plugin/action.yaml
vendored
@@ -68,6 +68,7 @@ runs:
|
||||
if (( ${+RUNNER_DEBUG} )) package_args+=(--debug)
|
||||
|
||||
if [[ '${{ inputs.codesign }}' == 'true' ]] package_args+=(--codesign)
|
||||
if [[ '${{ inputs.notarize }}' == 'true' ]] package_args+=(--notarize)
|
||||
if [[ '${{ inputs.package }}' == 'true' ]] package_args+=(--package)
|
||||
|
||||
.github/scripts/package-macos ${package_args}
|
||||
|
||||
9
.github/scripts/.package.zsh
vendored
9
.github/scripts/.package.zsh
vendored
@@ -217,8 +217,13 @@ ${_usage_host:-}"
|
||||
read_codesign_installer
|
||||
read_codesign_pass
|
||||
|
||||
xcrun notarytool submit ${project_root}/release/${output_name}.pkg \
|
||||
--keychain-profile "OBS-Codesign-Password" --wait
|
||||
NOTARY_SUBMIT_OUTPUT=$(xcrun notarytool submit ${project_root}/release/${output_name}.pkg \
|
||||
--keychain-profile "OBS-Codesign-Password" --wait)
|
||||
|
||||
echo "$NOTARY_SUBMIT_OUTPUT"
|
||||
|
||||
xcrun notarytool log $(echo "$NOTARY_SUBMIT_OUTPUT" | awk '/id: / { print $2;exit; }') --keychain-profile "OBS-Codesign-Password" \
|
||||
notarytool_log_${macos_arch}.json
|
||||
|
||||
local -i _status=0
|
||||
|
||||
|
||||
11
.github/workflows/build-project.yaml
vendored
11
.github/workflows/build-project.yaml
vendored
@@ -170,6 +170,7 @@ jobs:
|
||||
GITHUB_WORKSPACE: ${{ github.workspace }}
|
||||
|
||||
- name: Package Plugin 📀
|
||||
id: package_plugin
|
||||
uses: ./.github/actions/package-plugin
|
||||
with:
|
||||
target: macos-${{ matrix.architecture }}
|
||||
@@ -185,15 +186,23 @@ jobs:
|
||||
env:
|
||||
MACOS_ARCH: ${{ matrix.architecture }}
|
||||
|
||||
- name: Upload Notarization Failure Artifacts 📡
|
||||
uses: actions/upload-artifact@v4
|
||||
if: failure() && steps.package_plugin.outcome == 'failure'
|
||||
with:
|
||||
name: ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-macos-${{ matrix.architecture }}-${{ needs.check-event.outputs.commitHash }}-notarization-log
|
||||
path: ${{ github.workspace }}/notarytool_log_*.json
|
||||
|
||||
- name: Upload Artifacts 📡
|
||||
uses: actions/upload-artifact@v4
|
||||
if: steps.package_plugin.outcome == 'success'
|
||||
with:
|
||||
name: ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-macos-${{ matrix.architecture }}-${{ needs.check-event.outputs.commitHash }}
|
||||
path: ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-macos-${{ matrix.architecture }}.*
|
||||
|
||||
- name: Upload Debug Symbol Artifacts 🪲
|
||||
uses: actions/upload-artifact@v4
|
||||
if: ${{ needs.check-event.outputs.config == 'Release' }}
|
||||
if: ${{ needs.check-event.outputs.config == 'Release' }} && ${{ steps.package_plugin.outcome == 'success' }}
|
||||
with:
|
||||
name: ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-macos-${{ matrix.architecture }}-${{ needs.check-event.outputs.commitHash }}-dSYMs
|
||||
path: ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-macos-${{ matrix.architecture }}-dSYMs.*
|
||||
|
||||
Reference in New Issue
Block a user