From fa22f084a801116070b475f0f818988f396ed79a Mon Sep 17 00:00:00 2001 From: "J. Fronny" <33260128+JFronny@users.noreply.github.com> Date: Fri, 20 Mar 2020 16:23:18 +0100 Subject: [PATCH] Some fixes maybe --- .github/workflows/main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c728f65..717bedc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 ..