|
@@ -59,6 +59,7 @@ runs:
|
|
|
|
|
|
if [[ '${{ inputs.codesign }}' == 'true' ]] package_args+=(-s)
|
|
|
if [[ '${{ inputs.notarize }}' == 'true' ]] package_args+=(-n)
|
|
|
+ if (( ${+CI} && ${+RUNNER_DEBUG} )) build_args+=(--debug)
|
|
|
|
|
|
${{ inputs.workingDirectory }}/.github/scripts/package-macos.zsh ${package_args}
|
|
|
|
|
@@ -70,8 +71,11 @@ runs:
|
|
|
-c ${{ inputs.config }}
|
|
|
-t linux-${{ inputs.target }}
|
|
|
)
|
|
|
+ if [[ -n "${CI}" && -n "${RUNNER_DEBUG}" ]]; then
|
|
|
+ build_args+=(--debug)
|
|
|
+ fi
|
|
|
|
|
|
- ${{ inputs.workingDirectory }}/.github/scripts/package-linux.sh ${package_args[@]}
|
|
|
+ ${{ inputs.workingDirectory }}/.github/scripts/package-linux.sh "${package_args[@]}"
|
|
|
|
|
|
- name: Run Windows packaging
|
|
|
if: ${{ runner.os == 'Windows' }}
|
|
@@ -86,4 +90,10 @@ runs:
|
|
|
$PackageArgs += @{BuildInstaller = $true}
|
|
|
}
|
|
|
|
|
|
+ if ( ( Test-Path env:CI ) -and ( Test-Path env:RUNNER_DEBUG ) ) {
|
|
|
+ $BuildArgs += @{
|
|
|
+ Debug = $true
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
${{ inputs.workingDirectory }}/.github/scripts/Package-Windows.ps1 @PackageArgs
|