fix: Github actions failed because of signing WIN package not configured

This commit is contained in:
gauvainboiche
2026-08-31 20:56:40 +02:00
parent 2c879e4ebc
commit cb774383b1
2 changed files with 103 additions and 31 deletions
+6 -31
View File
@@ -64,34 +64,9 @@ jobs:
# ------------------------------------------------------------------------
# WINDOWS : SIGNPATH.IO signing
# ------------------------------------------------------------------------
- name: Upload Unsigned Windows Artifact to GitHub
if: matrix.os == 'windows'
id: upload-unsigned
uses: actions/upload-artifact@v4
with:
name: unsigned-ketapk-windows
path: src-tauri/target/release/bundle/msi/*.msi
- name: Submit Signing Request to SignPath
if: matrix.os == 'windows'
uses: signpath/github-action-submit-signing-request@v2
with:
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
organization-id: '${{ secrets.SIGNPATH_ORGANIZATION_ID }}'
project-slug: 'ketapk'
signing-policy-slug: 'release-signing'
github-artifact-id: '${{ steps.upload-unsigned.outputs.artifact-id }}'
wait-for-completion: true
output-artifact-directory: 'signed-windows-installer'
github-token: '${{ secrets.GITHUB_TOKEN }}'
# Non-signed asset replacement by signed assed on Github release
- name: Upload Signed Windows MSI to Release
if: matrix.os == 'windows'
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.tauri.outputs.releaseTagName }}
files: signed-windows-installer/*.msi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Disabled until SIGNPATH_API_TOKEN / SIGNPATH_ORGANIZATION_ID secrets are
# configured. The full signing flow is preserved in
# .github/release.yml.signpath-backup — restore it from there once the
# SignPath key is available. Until then, tauri-action above already
# uploads the unsigned MSI to the draft release directly.
# ------------------------------------------------------------------------