Add git fetch for gitversion

This commit is contained in:
Alex Hyett 2023-07-10 12:43:26 +01:00
parent 9fefe30f64
commit 4d6aab5601

View file

@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.7
with:
@ -15,8 +17,6 @@ jobs:
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.7
- name: Semver
run: echo $GITVERSION_SEMVER
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with: