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: make release builds agnostic of runner version #525

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Apr 17, 2024

Rework all if conditions in workflow steps from checking the exact string equality (e.g. matrix.os == 'macos-latest') to checking only the platform prefix (e.g. startsWith(matrix.os, 'macos-')).

This fixes the regression introduced by eb98870 (#490), see https://github.com/filecoin-station/zinnia/actions/runs/8718338987

@bajtos bajtos requested a review from juliangruber April 17, 2024 08:21
@bajtos bajtos force-pushed the fix-release-builds branch 2 times, most recently from 58b33d5 to 8a0f83a Compare April 17, 2024 08:22
Rework all `if` conditions in workflow steps from checking the exact
string equality (e.g. `matrix.os == 'macos-latest'`) to checking only
the platform prefix (e.g. `startsWith(matrix.os,  'macos-')`).

This fixes the regression introduced by eb98870 (#490).

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
@bajtos bajtos force-pushed the fix-release-builds branch from 8a0f83a to 7628eea Compare April 17, 2024 08:45
@bajtos
Copy link
Member Author

bajtos commented Apr 17, 2024

All platforms were built correctly with my changes in place:
https://github.com/filecoin-station/zinnia/actions/runs/8718661328

@bajtos bajtos marked this pull request as ready for review April 17, 2024 08:45
@bajtos bajtos enabled auto-merge (squash) April 17, 2024 08:46
@bajtos bajtos merged commit 3e9c84e into main Apr 17, 2024
13 checks passed
@bajtos bajtos deleted the fix-release-builds branch April 17, 2024 08:53
@bajtos
Copy link
Member Author

bajtos commented Apr 17, 2024

Oops, I thought Zinnia required approval before auto-merge kicked in.

@juliangruber, could you please review my PR for any hindsight? 🙏🏻

Copy link
Member

@juliangruber juliangruber left a comment

Choose a reason for hiding this comment

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

lgtm!

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.

2 participants