remove debug echos
This commit is contained in:
parent
3117693fa9
commit
2caf0c5162
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -13,25 +13,16 @@ jobs:
|
||||
- name: Build
|
||||
id: base_init
|
||||
run: |
|
||||
echo "download tools"
|
||||
$(new-object System.Net.WebClient).DownloadFile("https://www.github.com/JFronny/UpTool2/releases/latest/download/Tools.zip", "$($(pwd).Path)\Tools.zip")
|
||||
echo "unzip"
|
||||
& "C:\Program Files\7-Zip\7z.exe" x .\Tools.zip
|
||||
echo "remove leftovers"
|
||||
rm Tools.zip
|
||||
rm Install.bat
|
||||
rm Remove.bat
|
||||
echo "restore"
|
||||
dotnet restore
|
||||
echo "build"
|
||||
& "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" -noLogo -verbosity:m -p:Configuration=Release
|
||||
echo "copy"
|
||||
cp *\bin\Release\net461\package.zip .
|
||||
echo "get timespan"
|
||||
[timespan]$span = [System.DateTime]::Now - [datetime]'01/01/2000'
|
||||
echo "get version string"
|
||||
$asmver = "1.0." + $span.Days.ToString() + "." + [math]::Round($span.Seconds / 2).ToString()
|
||||
echo "set output"
|
||||
echo "::set-output name=vers::$asmver"
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
|
Reference in New Issue
Block a user