echo messages for github actions

This commit is contained in:
David Refoua
2022-10-15 13:49:02 +03:30
parent 7856b3ab57
commit f9cb2d6264
2 changed files with 20 additions and 14 deletions

View File

@ -88,6 +88,9 @@ function Get-VersionStr() {
if ( $Env:APPVEYOR -eq 'True' ) {
$string = $string + '.' + $Env:APPVEYOR_BUILD_NUMBER
}
elseif ( $Env:GITHUB_ACTIONS -eq 'true' ) {
$string = $string + '.' + $Env:GITHUB_RUN_NUMBER
}
# Remove starting 'v' characters
$string = $string -replace '^v+','' # normalize version string