Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4b06fb8

Browse files
committed
check if version has been resolved
1 parent8e60104 commit4b06fb8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎.github/workflows/branches.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@ jobs:
2525
uses:actions/setup-dotnet@v2
2626
with:
2727
dotnet-version:|
28-
3.1.x
29-
5.0.x
3028
6.0.x
3129
-name:Restore dotnet tools
3230
run:dotnet tool restore
3331
-name:Fetch complete repository including tags
3432
run:git fetch --tags --force --prune && git describe
3533
-name:Generate version info from git history
3634
run:dotnet gitversion /output json | jq -r 'to_entries|map("GitVersion_\(.key)=\(.value|tostring)")|.[]' >> $GITHUB_ENV
35+
-name:Check that the version number has been resolved
36+
if:${{ !env.GitVersion_SemVer }}
37+
run:|
38+
echo Error! Version number not resolved!
39+
exit 1
3740
-name:Print current version
3841
run:echo "Current version is \"$GitVersion_SemVer\""
3942
-name:Install dependencies

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp