got it.
Add an id to the step and read out the output new_tag
name: Bump version and push tag ok
id: bumpVersion
uses: anothrNick/github-tag-action@1.17.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
name: Show new tag
run: echo " ${{ steps.bumpVersion.outputs.new_tag }}"
Is the tag stored in some env variable? Is there a way to extract the current tag that we are setting ?