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

Generalize build_msi GitHub action #94201

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

arhadthedev
Copy link
Member

Currently, .github/workflows/build_msi.yml has two places of duplication:

  • enumeration of trigger branches manually updated each minor release (['main', '3.11', '3.10', '3.9', '3.8', '3.7']) instead of permavalid wildcards (['main', '3.*']):

    The branches, branches-ignore, tags, and tags-ignore keywords accept glob patterns that use characters like *, **, +, ?, ! and others to match more than one branch or tag name.

  • enumeration of three build configurations (x86, x64, arm64) that are carbon copies of each other except a title and a single command line parameter.

This PR generalizes them into a wildcard and a matrix respectively.

It also modifies the GitHub run report. Before:

image

After:

image

@ambv ambv merged commit 5c5fc9d into python:main Jun 28, 2022
@arhadthedev arhadthedev deleted the reduce-buildmsi-action branch June 28, 2022 11:18
gvanrossum pushed a commit to gvanrossum/cpython that referenced this pull request Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants