Some fixes maybe

This commit is contained in:
J. Fronny 2020-03-20 16:23:18 +01:00 committed by GitHub
parent 98a700f2f2
commit fa22f084a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,10 +75,9 @@ jobs:
$tmp2 = $tmp.split('.')[3] $tmp2 = $tmp.split('.')[3]
$suffix = "$tmp1.$tmp2" $suffix = "$tmp1.$tmp2"
cd Misc cd Misc
dotnet pack --version-suffix "$suffix" -c Release -o build.nupkg dotnet pack --version-suffix "$suffix" -c Release -o .
dotnet nuget push build.nupkg ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
cd .. cd ..\W32
cd W32 dotnet pack --version-suffix "$suffix" -c Release -o .
dotnet pack --version-suffix "$suffix" -c Release -o build.nupkg dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
dotnet nuget push build.nupkg ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
cd .. cd ..