mirror of
https://github.com/gauvainboiche/ketapk.git
synced 2026-09-02 11:13:11 +02:00
fix: Github actions failed because of signing WIN package not configured
This commit is contained in:
@@ -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.
|
||||
# ------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user