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

Fix build action #61

Merged
merged 3 commits into from
Jan 10, 2025
Merged

Fix build action #61

merged 3 commits into from
Jan 10, 2025

Conversation

aethr
Copy link
Contributor

@aethr aethr commented Jan 9, 2025

Description

The build action in openmethane broke recently due to (I believe) changes in the ubuntu-latest runner which has been updated to a newer version. This PR is porting the same changes that resolved the issue in the openmethane build action.

Checklist

Please confirm that this pull request has done the following:

  • Tests added
  • Documentation added (where applicable)
  • Changelog item added to changelog/

Notes

aethr added 2 commits January 9, 2025 11:55
The default shell in ubuntu task runners appears to have changed to dash, so the previous substitution no longer worked.
When building from a version tag (v0.0.0) this should always contain the version, however the metadata-action step sometimes populates this with build-XYZ. This change will always explicitly source the version from pyproject.toml which should always contain a valid semver string.
@aethr aethr self-assigned this Jan 9, 2025
@aethr aethr merged commit 8660b5d into main Jan 10, 2025
9 checks passed
@aethr aethr deleted the fix-build-action branch January 10, 2025 02:37
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.

1 participant