Skip to content

Commit c04577d

Browse files
authored
Rename OpenClaw Executables to Binaries in CI
fix(release): sign all first-party payload binaries
1 parent 249656b commit c04577d

1 file changed

Lines changed: 34 additions & 10 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -645,49 +645,73 @@ jobs:
645645
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
646646
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
647647

648-
- name: Stage x64 OpenClaw Executables for Signing
648+
- name: Stage x64 OpenClaw Binaries for Signing
649649
shell: pwsh
650650
run: |
651651
New-Item -ItemType Directory -Path signing-input-x64 -Force | Out-Null
652-
New-Item -ItemType HardLink -Path signing-input-x64\OpenClaw.Tray.WinUI.exe -Target artifacts\tray-win-x64\OpenClaw.Tray.WinUI.exe | Out-Null
652+
$openClawBinaries = @(
653+
"OpenClaw.Tray.WinUI.exe",
654+
"OpenClaw.Tray.WinUI.dll",
655+
"OpenClaw.Chat.dll",
656+
"OpenClaw.Connection.dll",
657+
"OpenClaw.SetupEngine.UI.dll",
658+
"OpenClaw.SetupEngine.dll",
659+
"OpenClaw.Shared.dll",
660+
"OpenClawTray.FunctionalUI.dll"
661+
)
662+
foreach ($binary in $openClawBinaries) {
663+
New-Item -ItemType HardLink -Path "signing-input-x64\$binary" -Target "artifacts\tray-win-x64\$binary" | Out-Null
664+
}
653665
654-
- name: Stage ARM64 OpenClaw Executables for Signing
666+
- name: Stage ARM64 OpenClaw Binaries for Signing
655667
shell: pwsh
656668
run: |
657669
New-Item -ItemType Directory -Path signing-input-arm64 -Force | Out-Null
658-
New-Item -ItemType HardLink -Path signing-input-arm64\OpenClaw.Tray.WinUI.exe -Target artifacts\tray-win-arm64\OpenClaw.Tray.WinUI.exe | Out-Null
670+
$openClawBinaries = @(
671+
"OpenClaw.Tray.WinUI.exe",
672+
"OpenClaw.Tray.WinUI.dll",
673+
"OpenClaw.Chat.dll",
674+
"OpenClaw.Connection.dll",
675+
"OpenClaw.SetupEngine.UI.dll",
676+
"OpenClaw.SetupEngine.dll",
677+
"OpenClaw.Shared.dll",
678+
"OpenClawTray.FunctionalUI.dll"
679+
)
680+
foreach ($binary in $openClawBinaries) {
681+
New-Item -ItemType HardLink -Path "signing-input-arm64\$binary" -Target "artifacts\tray-win-arm64\$binary" | Out-Null
682+
}
659683
660-
- name: Sign x64 OpenClaw Executables
684+
- name: Sign x64 OpenClaw Binaries
661685
uses: azure/artifact-signing-action@v2
662686
with:
663687
endpoint: https://eus.codesigning.azure.net/
664688
signing-account-name: openclaw
665689
certificate-profile-name: openclaw
666690
files-folder: signing-input-x64
667-
files-folder-filter: exe
691+
files-folder-filter: exe,dll
668692
files-folder-depth: 1
669693
file-digest: SHA256
670694
timestamp-rfc3161: http://timestamp.acs.microsoft.com
671695
timestamp-digest: SHA256
672696

673-
- name: Sign ARM64 OpenClaw Executables
697+
- name: Sign ARM64 OpenClaw Binaries
674698
uses: azure/artifact-signing-action@v2
675699
with:
676700
endpoint: https://eus.codesigning.azure.net/
677701
signing-account-name: openclaw
678702
certificate-profile-name: openclaw
679703
files-folder: signing-input-arm64
680-
files-folder-filter: exe
704+
files-folder-filter: exe,dll
681705
files-folder-depth: 1
682706
file-digest: SHA256
683707
timestamp-rfc3161: http://timestamp.acs.microsoft.com
684708
timestamp-digest: SHA256
685709

686-
- name: Verify x64 Release Executable Signing Policy
710+
- name: Verify x64 Release Binary Signing Policy
687711
shell: pwsh
688712
run: .\scripts\Test-ReleaseExecutableSignatures.ps1 -PayloadPath artifacts/tray-win-x64 -RequireSignedOpenClaw
689713

690-
- name: Verify ARM64 Release Executable Signing Policy
714+
- name: Verify ARM64 Release Binary Signing Policy
691715
shell: pwsh
692716
run: .\scripts\Test-ReleaseExecutableSignatures.ps1 -PayloadPath artifacts/tray-win-arm64 -RequireSignedOpenClaw
693717

0 commit comments

Comments
 (0)