From 2c479ec435259415a9d140e272429d9b4100cf39 Mon Sep 17 00:00:00 2001 From: phnx47-bot <78849906+phnx47-bot@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:44:41 +0700 Subject: [PATCH] use output to pack nupkgs (#138) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 075ed72..7246b67 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,11 +51,11 @@ jobs: - name: Pack NuGet artifacts if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') - run: dotnet pack --no-build -c Release -p:PackageVersion="${{ env.VERSION }}" + run: dotnet pack --no-build -c Release -p:PackageVersion="${{ env.VERSION }}" -o nupkgs - name: Upload artifacts if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') uses: actions/upload-artifact@v4 with: name: nupkgs - path: src/**/*nupkg + path: nupkgs/**/*nupkg