Skip to content

Commit

Permalink
Fix build failure if no suffix is specified
Browse files Browse the repository at this point in the history
azyobuzin committed Oct 14, 2020
1 parent 88ced17 commit efec2d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ runs:
} else {
"ci.$($env:GITHUB_RUN_ID)+$($env:GITHUB_SHA.Substring(0,7))"
}
dotnet pack -c Release --version-suffix "$versionSuffix"
if ($versionSuffix) { $versionSuffix = @('--version-suffix', "$versionSuffix") }
dotnet pack -c Release $versionSuffix
shell: pwsh
working-directory: ${{ inputs.project-dir }}

0 comments on commit efec2d5

Please sign in to comment.