Skip to content

fix: readme change for action testing #2

fix: readme change for action testing

fix: readme change for action testing #2

Workflow file for this run

name: Set Version
on:
push:
branches:
- main
paths-ignore:
- '.github/**'
env:
GITHUB_TOKEN: ${{ secrets.WOW_PAT }}
jobs:
get-version:
outputs:
bump: ${{ steps.version.outputs.bump }}
next: ${{ steps.version.outputs.next }}
current: ${{ steps.version.outputs.current }}
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get next version
id: version
uses: ietf-tools/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
noVersionBumpBehavior: 'current'
- name: Tag version
if: ${{ steps.version.outputs.bump != '' }}
shell: bash
run: git tag ${{ steps.version.outputs.next }} && git push --tags