From 2d068ab899cada9ea5eb5689cc2bc60f2a86f58e Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Mon, 23 May 2022 09:00:28 -0600 Subject: [PATCH] ci: fix paths to .nupkg The .nupkg file is placed in the folder where the `nuget pack` command is run. In this case, that is the root folder of the repo. --- .github/workflows/docker.yml | 4 ++-- .github/workflows/main.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 655ef97..121cf0b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -278,6 +278,6 @@ jobs: - name: Create nuget package run: nuget pack "./Pepperdash Core/Pepperdash Core/PepperDash_Core_4-Series.csproj.nuspec" -version ${{ env.VERSION }} - name: Publish nuget package to Github registry - run: nuget push "./Pepperdash Core/Pepperdash Core/*.nupkg" -Source github + run: nuget push "./*.nupkg" -Source github - name: Publish nuget package to nuget.org - run: nuget push "./Pepperdash Core/Pepperdash Core/*.nupkg" -Source https://api.nuget.org/v3/index.json \ No newline at end of file + run: nuget push "./*.nupkg" -Source https://api.nuget.org/v3/index.json \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 701e531..b3a38ca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -230,6 +230,6 @@ jobs: - name: Create nuget package run: nuget pack "./Pepperdash Core/Pepperdash Core/PepperDash_Core_4-Series.csproj.nuspec" -version ${{ env.VERSION }} - name: Publish nuget package to Github registry - run: nuget push "./Pepperdash Core/Pepperdash Core/*.nupkg" -Source github + run: nuget push "./*.nupkg" -Source github - name: Publish nuget package to nuget.org - run: nuget push "./Pepperdash Core/Pepperdash Core/*.nupkg" -Source https://api.nuget.org/v3/index.json + run: nuget push "./*.nupkg" -Source https://api.nuget.org/v3/index.json