Add git fetch for gitversion
This commit is contained in:
parent
9fefe30f64
commit
4d6aab5601
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-and-test.yml
vendored
4
.github/workflows/build-and-test.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue