Skip to content

Conversation

@JeremieGince
Copy link
Owner

This pull request updates the GitHub Actions workflows for building and testing the project. The most significant changes include downgrading the version of the github-tag-action, splitting the tag creation and release steps, and modifying the test workflow to trigger only on pull requests.

Updates to the build workflow (.github/workflows/build_dist.yml):

  • Downgraded the github-tag-action from version 2.12.0 to 1.61.0 in both the "Gather new package version" and "Create Tag" steps. [1] [2]
  • Added a step to activate the Python virtual environment (. ./venv/bin/activate) before bumping the package version in pyproject.toml.
  • Replaced the inline git push command with the github-push-action to push changes to the main branch, ensuring a more robust and reusable workflow.
  • Split the "Create Tag and Release" step into two separate steps: "Create Tag" and "Create Release," using softprops/action-gh-release for release creation with autogenerated release notes.

Updates to the test workflow (.github/workflows/tests.yml):

  • Removed the push trigger for the main and dev branches, so the workflow now only runs on pull requests targeting any branch.

@JeremieGince JeremieGince merged commit 95e3f1d into main May 29, 2025
2 checks passed
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