Update GitHub actions usage documentation

This commit is contained in:
Rory Primrose
2020-11-15 17:09:40 +11:00
committed by Artur
parent d7bba81943
commit 3ae78bd823

View File

@@ -10,12 +10,12 @@ repository with `fetch-depth: 0` to fetch all history for all tags and branches.
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install GitVersion - name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.4 uses: gittools/actions/gitversion/setup@v0.9.6
with: with:
versionSpec: '5.3.x' versionSpec: '5.x'
- name: Use GitVersion - name: Use GitVersion
id: gitversion # step id used as reference for output values id: gitversion # step id used as reference for output values
uses: gittools/actions/gitversion/execute@v0.9.4 uses: gittools/actions/gitversion/execute@v0.9.6
- run: | - run: |
echo "Major: ${{ steps.gitversion.outputs.major }}" echo "Major: ${{ steps.gitversion.outputs.major }}"
echo "Minor: ${{ steps.gitversion.outputs.minor }}" echo "Minor: ${{ steps.gitversion.outputs.minor }}"