We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8e60104 commit4b06fb8Copy full SHA for 4b06fb8
.github/workflows/branches.yml
@@ -25,15 +25,18 @@ jobs:
25
uses:actions/setup-dotnet@v2
26
with:
27
dotnet-version:|
28
- 3.1.x
29
- 5.0.x
30
6.0.x
31
-name:Restore dotnet tools
32
run:dotnet tool restore
33
-name:Fetch complete repository including tags
34
run:git fetch --tags --force --prune && git describe
35
-name:Generate version info from git history
36
run:dotnet gitversion /output json | jq -r 'to_entries|map("GitVersion_\(.key)=\(.value|tostring)")|.[]' >> $GITHUB_ENV
+ -name:Check that the version number has been resolved
+if:${{ !env.GitVersion_SemVer }}
37
+run:|
38
+ echo Error! Version number not resolved!
39
+ exit 1
40
-name:Print current version
41
run:echo "Current version is \"$GitVersion_SemVer\""
42
-name:Install dependencies