Actions updated to latest versions #4
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: Auto Versioning | |
on: | |
push: | |
branches: | |
- master # or main, depending on your default branch | |
jobs: | |
versioning: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # This is important to fetch all tags and history | |
- name: Bump version and push tag | |
uses: mathieudutour/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
default_bump: patch # Automatically bump patch version | |
release_branches: master # or main | |
create_annotated_tag: true |