Skip to content

Merge pull request #69 from draios/dependabot/github_actions/draios/i… #56

Merge pull request #69 from draios/dependabot/github_actions/draios/i…

Merge pull request #69 from draios/dependabot/github_actions/draios/i… #56

name: "Tag and build"
on:
push:
branches: ["main"]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: pre-commit/[email protected]
tagging:
name: "Tagging"
needs: pre-commit
runs-on: ubuntu-latest
outputs:
next_tag: ${{ steps.tag_version.outputs.new_version }}
steps:
- uses: actions/[email protected]
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- run: |
echo Calculated Next Tag is ${{ steps.tag_version.outputs.new_tag }}