Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Only download required build artifacts to make the Windows installer #662

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

guihkx
Copy link
Collaborator

@guihkx guihkx commented Dec 21, 2023

Our Windows CI has a separate build job with the sole purpose of creating an installer, by joining three different Windows builds:

  • Qt5: x86 and x86_64
  • Qt6: x86_64

To accomplish that, this job needs to download these build artifacts from previous jobs.

Until now, we would download all build artifacts, including ones from unrelated jobs such as Linux and macOS, which doesn't make sense, as it's wasteful and slow.

Thankfully, version 4.1.0 of actions/download-artifact now allows us to specify which artifacts to download, which is what this pull request does.

Our Windows CI has a separate build job with the sole purpose of
creating an installer, by joining three different Windows builds:

- Qt5: x86 and x86_64
- Qt6: x86_64

To accomplish that, this job needs to download these build artifacts
from previous jobs.

Until now, we would download all build artifacts, including ones from
unrelated jobs such as Linux and macOS, which doesn't make sense, as
it's wasteful and slow.

Thankfully, version 4.1.0[1] of 'actions/download-artifact' now allows
us to specify which artifacts to download, which is what this commit
does.

[1] https://github.com/actions/download-artifact/releases/tag/v4.1.0
Copy link
Collaborator

@zjeffer zjeffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@guihkx guihkx merged commit ddb85cb into nuttyartist:master Dec 22, 2023
17 checks passed
@guihkx guihkx deleted the ci-windows-filter-artifacts branch December 22, 2023 15:52
@nuttyartist
Copy link
Owner

👍

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.

3 participants