fix: windows signing signpath upload
This commit is contained in:
parent
ef75580f7b
commit
38700aed95
|
|
@ -156,8 +156,10 @@ jobs:
|
||||||
if: steps.release.outputs.new_release_published == 'true'
|
if: steps.release.outputs.new_release_published == 'true'
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: unsigned-windows-zip
|
# Upload as-is so SignPath receives OliveTin-windows-amd64.zip, not a wrapper zip.
|
||||||
|
# With archive: false, the artifact name is the filename (`name` is ignored).
|
||||||
path: dist/OliveTin-windows-amd64.zip
|
path: dist/OliveTin-windows-amd64.zip
|
||||||
|
archive: false
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload unsigned Windows MSI for SignPath
|
- name: Upload unsigned Windows MSI for SignPath
|
||||||
|
|
@ -165,8 +167,8 @@ jobs:
|
||||||
if: steps.release.outputs.new_release_published == 'true'
|
if: steps.release.outputs.new_release_published == 'true'
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: unsigned-windows-msi
|
|
||||||
path: dist/OliveTin-windows-amd64.msi
|
path: dist/OliveTin-windows-amd64.msi
|
||||||
|
archive: false
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Archive binaries
|
- name: Archive binaries
|
||||||
|
|
@ -219,6 +221,8 @@ jobs:
|
||||||
artifact-configuration-slug: windows-zip
|
artifact-configuration-slug: windows-zip
|
||||||
github-artifact-id: ${{ needs.build.outputs.windows_zip_artifact_id }}
|
github-artifact-id: ${{ needs.build.outputs.windows_zip_artifact_id }}
|
||||||
wait-for-completion: true
|
wait-for-completion: true
|
||||||
|
# Preserve the signed .zip/.msi files; default decompress would unpack the zip.
|
||||||
|
skip-decompress: true
|
||||||
output-artifact-directory: signed-windows-zip
|
output-artifact-directory: signed-windows-zip
|
||||||
|
|
||||||
- name: Sign Windows MSI
|
- name: Sign Windows MSI
|
||||||
|
|
@ -231,6 +235,7 @@ jobs:
|
||||||
artifact-configuration-slug: windows-msi
|
artifact-configuration-slug: windows-msi
|
||||||
github-artifact-id: ${{ needs.build.outputs.windows_msi_artifact_id }}
|
github-artifact-id: ${{ needs.build.outputs.windows_msi_artifact_id }}
|
||||||
wait-for-completion: true
|
wait-for-completion: true
|
||||||
|
skip-decompress: true
|
||||||
output-artifact-directory: signed-windows-msi
|
output-artifact-directory: signed-windows-msi
|
||||||
|
|
||||||
- name: Publish signed Windows assets and undraft release
|
- name: Publish signed Windows assets and undraft release
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue