The workflow .github/workflows/release-windows.yml cross-builds the
Windows installer in the swipl-mingw-build container and has the
result Authenticode-signed by SignPath, which we
use under their free plan for open source projects.
Push a release tag (V*)
gh workflow run release-windows.yml -f ref=master
gh run watch
gh run download -n swipl-<version>-1.x64.exe
Downloads swipl-<version>-1.x64.exe{,sha256}. The run also leaves an
artifact unsigned-installer, which is what was submitted for signing;
a bare gh run download fetches both.
Signing is part of the run: the installer is uploaded as the
unsigned-installer artifact, a signing request is submitted, and the
job blocks until SignPath returns the signed file. Should the policy
require an approver, do so at https://app.signpath.io; the job waits
up to five hours. The organisation, project and policy are spelled out
in the workflow.
Verify the download on Linux with
osslsigncode verify swipl-<version>-1.x64.exe
and on Windows with Get-AuthenticodeSignature or the Digital
Signatures tab of the file properties.
SIGNPATH_API_TOKEN.Signing only happens from a branch the signing policy accepts. Dispatch the workflow definition from that branch, choosing separately which sources it builds:
gh workflow run release-windows.yml --ref <branch> -f ref=master
Nothing is published to a GitHub release unless the run was triggered by
a V* tag.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.