Skip to content

Conversation

@jmcphers
Copy link
Contributor

Signs ark.exe on Windows.

Part of posit-dev/positron#9962.

Copy link
Contributor

@DavisVaughan DavisVaughan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks for putting it in posit-gh-actions, that's so much complexity hidden away! Especially being able to use the org level env vars too!


sign_windows:
name: "Sign Windows Binaries"
uses: posit-dev/posit-gh-actions/.github/workflows/sign-windows.yml@main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kind of! It's one of our "Posit Larger Runners". IIRC it is not hosted by Posit but we do pay for it via Github Enterprise.

secrets: inherit
strategy:
matrix:
arch: [x64, arm64]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that whatever arch [windows-latest-8x] is can codesign both x64 and arm64 with no issues?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question; yes, it can. It's been code signing the arm64 version of Positron for a few months now.

cargo build ${{ matrix.flavor == 'release' && '--release' || '' }} --target ${{ matrix.rust_target_prefix }}-pc-windows-msvc
- name: Create archive
- name: Upload unsigned executable for signing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can remove DEBUG_FLAG from build_windows:?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes! 3156b97

@jmcphers jmcphers merged commit 7c92484 into main Dec 16, 2025
8 checks passed
@jmcphers jmcphers deleted the feature/sign-windows branch December 16, 2025 01:40
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants