@@ -16,6 +16,14 @@ inputs:
1616 description : Developer ID for application codesigning (macOS only)
1717 required : false
1818 default : ' -'
19+ codesignTeam :
20+ description : Team ID for application codesigning (macOS only)
21+ required : false
22+ default : ' '
23+ provisioningProfileUUID :
24+ description : UUID of provisioning profile (macOS only)
25+ required : false
26+ default : ' '
1927 workingDirectory :
2028 description : Working directory for packaging
2129 required : false
@@ -31,14 +39,18 @@ runs:
3139 CCACHE_DIR : ${{ inputs.workingDirectory }}/.ccache
3240 CODESIGN_IDENT : ${{ inputs.codesignIdent }}
3341 CODESIGN_TEAM : ${{ inputs.codesignTeam }}
42+ PROVISIONING_PROFILE : ${{ inputs.provisioningProfileUUID }}
3443 run : |
3544 : Run macOS Build
3645
37- local -a build_args=(--config ${{ inputs.config }})
46+ local -a build_args=(
47+ --config ${{ inputs.config }}
48+ )
3849 if (( ${+RUNNER_DEBUG} )) build_args+=(--debug)
3950
4051 if [[ '${{ inputs.codesign }}' == 'true' ]] build_args+=(--codesign)
4152
53+ git fetch origin --no-tags --no-recurse-submodules -q
4254 .github/scripts/build-macos ${build_args}
4355
4456 - name : Install Dependencies 🛍️
@@ -62,16 +74,18 @@ runs:
6274 : Run Ubuntu Build
6375
6476 local -a build_args=(
65- --target ubuntu-${{ inputs.target }}
6677 --config ${{ inputs.config }}
78+ --target ubuntu-${{ inputs.target }}
6779 )
6880 if (( ${+RUNNER_DEBUG} )) build_args+=(--debug)
6981
82+ git fetch origin --no-tags --no-recurse-submodules -q
7083 .github/scripts/build-ubuntu ${build_args}
7184
7285 - name : Run Windows Build
7386 if : runner.os == 'Windows'
7487 shell : pwsh
88+ working-directory : ${{ inputs.workingDirectory }}
7589 run : |
7690 # Run Windows Build
7791 if ( $Env:RUNNER_DEBUG -ne $null ) {
@@ -83,10 +97,14 @@ runs:
8397 Configuration = '${{ inputs.config }}'
8498 }
8599
100+ if ( $Env:RUNNER_DEBUG -ne $null ) {
101+ $BuildArgs += @{ Debug = $true }
102+ }
103+ git fetch origin --no-tags --no-recurse-submodules -q
86104 .github/scripts/Build-Windows.ps1 @BuildArgs
87105
88106 - name : Create Summary 📊
89- if : contains(fromJSON('["Linux", "macOS"]'),runner.os)
107+ if : contains(fromJSON('["Linux", "macOS"]'), runner.os)
90108 shell : zsh --no-rcs --errexit --pipefail {0}
91109 env :
92110 CCACHE_DIR : ${{ inputs.workingDirectory }}/.ccache
0 commit comments