Skip to content

Conversation

tronical
Copy link
Member

Instead of wrongly fixing up the .zip archive name in the prepare_release phase (and missing a space as per #9050), let the slint_tool_binary workflow create the correct .zip archive, then let upload-artifact archive the zip (instead of the directory), so that unpacking on the release job side will retain the zip file.

This way it's handled the same as for .tar.gz (where download-artifact doesn't unarchive) and the file name is decided in one place (slint_tool_binary).

Fixes #9050

@tronical tronical requested a review from ogoffart August 14, 2025 07:48
@tronical tronical force-pushed the simon/windows-assets branch 3 times, most recently from 4af6407 to 89b6499 Compare August 14, 2025 11:18
Instead of wrongly fixing up the .zip archive name in the prepare_release phase (and missing a space as per #9050), let the slint_tool_binary workflow create the correct .zip archive, then let upload-artifact archive the zip (instead of the directory), so that unpacking on the release job side will retain the zip file.

This way it's handled the same as for .tar.gz (where download-artifact doesn't unarchive) and the file name is decided in one place (slint_tool_binary).

Fixes #9050
@tronical tronical force-pushed the simon/windows-assets branch from 89b6499 to 48104e9 Compare August 14, 2025 11:19
@ogoffart
Copy link
Member

Don't release-artifacts.md need to be updated as well?

@tronical
Copy link
Member Author

tronical commented Aug 14, 2025

I think that's using the correct links:

[slint-lsp-windows-x86_64.zip](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-lsp-windows-x86_64.zip)
[slint-lsp-windows-arm64.zip](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-lsp-windows-arm64.zip)
[slint-viewer-windows-x86_64.zip](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-viewer-windows-x86_64.zip)
[slint-viewer-windows-arm64.zip](https://github.com/slint-ui/slint/releases/download/{download_version}/slint-viewer-windows-arm64.zip)

The zip file is created here:

Compress-Archive -Path * -Destination ..\slint-${{ github.event.inputs.program || inputs.program }}-windows-${{ matrix.package_suffix }}.zip

and the values for package_suffix are x86_64 and arm64.

@tronical tronical merged commit 0639502 into master Aug 14, 2025
40 checks passed
@tronical tronical deleted the simon/windows-assets branch August 14, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect asset name for slint-lsp on Windows

2 participants