Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,18 @@ jobs:
tenant-id: ${{ steps.azure_config.outputs.AZURE_TENANT_ID }}
subscription-id: ${{ steps.azure_config.outputs.AZURE_SUBSCRIPTION_ID }}

# artifact-signing-action installs its ArtifactSigning module from PSGallery,
# which is intermittently missing on hosted windows runners (the action then
# dies with "Unable to find repository 'PSGallery'" — actions/runner-images#13758).
# That flake silently dropped the arm64 exe + msi from v0.6.14. Re-register the
# default PSGallery so a mis-provisioned runner can't lose an artifact again.
- name: Ensure PSGallery is registered
shell: pwsh
run: |
if (-not (Get-PSRepository -Name PSGallery -ErrorAction SilentlyContinue)) {
Register-PSRepository -Default
}

# Authenticode-signs via Artifact Signing (ex-Trusted Signing). The action only
# runs on Windows runners. azure/login leaves an az CLI session that the action's
# default AzureCliCredential picks up, so no azure-* secret inputs are needed.
Expand Down Expand Up @@ -431,6 +443,14 @@ jobs:
tenant-id: ${{ steps.azure_config.outputs.AZURE_TENANT_ID }}
subscription-id: ${{ steps.azure_config.outputs.AZURE_SUBSCRIPTION_ID }}

# Same PSGallery flake guard as the exe job — see that step's comment.
- name: Ensure PSGallery is registered
shell: pwsh
run: |
if (-not (Get-PSRepository -Name PSGallery -ErrorAction SilentlyContinue)) {
Register-PSRepository -Default
}

- name: Sign OpenLogi.msi with Artifact Signing
uses: azure/artifact-signing-action@v2
with:
Expand Down