Skip to content

Commit a210f97

Browse files
authored
beta to master (#18886)
2 parents 5610f99 + 952953d commit a210f97

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/testAndPublish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,17 +338,17 @@ jobs:
338338
run: ci/scripts/setSconsArgs.ps1
339339
env:
340340
apiSigningToken: ${{ github.event_name == 'push' && secrets.API_SIGNING_TOKEN || '' }}
341-
- name: Build scons targets
341+
- name: Build scons docs targets
342342
shell: cmd
343-
run: scons %sconsOutTargets% %sconsArgs% %sconsCores%
344-
- name: Create launcher
343+
run: scons %sconsDocsOutTargets% %sconsArgs% %sconsCores%
344+
# Run launcher separately as we can't safely generate that in parallel to docs scons targets (#18867)
345+
- name: Create launcher and controller client
345346
shell: cmd
346-
# Run launcher separately as we can't safely generate that in parallel to other scons targets (#18867)
347347
run: |
348348
PowerShell -Command "Set-ExecutionPolicy Bypass"
349349
PowerShell -Command "Set-PSRepository PSGallery -InstallationPolicy Trusted"
350350
PowerShell -Command "Install-Module -Name SignPath -Force"
351-
scons launcher %sconsArgs% %sconsCores%
351+
scons %sconsLauncherOutTargets% %sconsArgs% %sconsCores%
352352
- name: Upload launcher
353353
id: uploadLauncher
354354
uses: actions/upload-artifact@v4

ci/scripts/setSconsArgs.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
$ErrorActionPreference = "Stop";
2-
$sconsOutTargets = "developerGuide changes userGuide keyCommands client moduleList"
2+
$sconsDocsOutTargets = "developerGuide changes userGuide keyCommands user_docs"
3+
$sconsLauncherOutTargets = "launcher client moduleList"
34
$sconsArgs = "version=$env:version"
45
$sconsCores = "--all-cores"
56
if ($env:RUNNER_DEBUG -eq "1") {
@@ -20,9 +21,11 @@ if ($env:GITHUB_EVENT_NAME -eq "push" -and $env:apiSigningToken) {
2021
$sconsArgs += " apiSigningToken=$env:apiSigningToken"
2122
}
2223
$sconsArgs += " version_build=$([int]$env:GITHUB_RUN_NUMBER + [int]$env:START_BUILD_NUMBER)"
23-
Write-Output "sconsOutTargets=$sconsOutTargets" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
24+
Write-Output "sconsDocsOutTargets=$sconsDocsOutTargets" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
25+
Write-Output "sconsLauncherOutTargets=$sconsLauncherOutTargets" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
2426
Write-Output "sconsArgs=$sconsArgs" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
2527
Write-Output "sconsCores=$sconsCores" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
2628
Write-Host "scons args: $sconsArgs"
27-
Write-Host "scons output targets: $sconsOutTargets"
29+
Write-Host "scons docs output targets: $sconsDocsOutTargets"
30+
Write-Host "scons launcher output targets: $sconsLauncherOutTargets"
2831
Write-Host "scons cores: $sconsCores"

0 commit comments

Comments
 (0)