ci: release now depends on workflow version being run prior #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Determine Next Version and Tag | |
on: | |
push: | |
branches: | |
- heart | |
jobs: | |
determine-version: | |
name: Determine Version and Create Tag | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 100 # Get all the history for tagging and releasing | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12.3" | |
- name: Determine Next Version and Update pyproject.toml | |
run: | | |
python ci/determine_next_version.py | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |