GitVersion docker action
Calculate the semantic version of the repository based on the git tree
Inputs
Outputs
version
The NuGetVersionV2 version generated by GitVersion.
Example usage
jobs:
getversion_job:
runs-on: ubuntu-latest
name: A job to get my version
steps:
- uses: actions/checkout@v1
- name: Hello world action step
id: gitversion
uses: zentron/github-actions@master
- name: Get the output time
run: echo "The time was ${GITVERS_NuGetVersionV2} ${{ steps.gitversion.outputs.version }}"