Skip to content

add GitVersion.yaml #10

add GitVersion.yaml

add GitVersion.yaml #10

name: Auto Versioning
on:
push:
branches:
- auto-versioning
workflow_dispatch:
jobs:
versioning:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch All History
run: git fetch --unshallow
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '6.0.x'
- name: Determine Version
id: version_step # step id used as reference for output values
uses: gittools/actions/gitversion/[email protected]
with:
useConfigFile: true