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]
$suffix = "$tmp1.$tmp2"
cd Misc
dotnet pack --version-suffix "$suffix" -c Release -o build.nupkg
dotnet nuget push build.nupkg ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
cd ..
cd W32
dotnet pack --version-suffix "$suffix" -c Release -o build.nupkg
dotnet nuget push build.nupkg ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
dotnet pack --version-suffix "$suffix" -c Release -o .
dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
cd ..\W32
dotnet pack --version-suffix "$suffix" -c Release -o .
dotnet nuget push $(Get-Item $(Resolve-Path *.nupkg).Path).Name -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
cd ..