From 928a4af24c3a8976afbbe4cee709ebbaebe70bd3 Mon Sep 17 00:00:00 2001 From: STAM Date: Sun, 29 Sep 2024 18:47:57 +0300 Subject: [PATCH] c --- .github/workflows/build-and-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index a03ac97..cc21b3a 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -61,25 +61,25 @@ jobs: - name: Pack NuGet package [Debug] if: matrix.configuration == 'Debug' - run: dotnet pack --configuration Debug --output ./nupkg + run: dotnet pack --configuration Debug --output "${{ github.workspace }}/src/nupkg" - name: Pack NuGet package [Release] if: matrix.configuration == 'Release' - run: dotnet pack --configuration Release --output ./nupkg + run: dotnet pack --configuration Release --output "${{ github.workspace }}/src/nupkg" - name: Upload the artifact [Debug] if: matrix.configuration == 'Debug' uses: actions/upload-artifact@v4 with: name: debug.kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg - path: nupkg\kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg + path: "${{ github.workspace }}/src/nupkg/kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg" - name: Upload the artifact [Release] if: matrix.configuration == 'Release' uses: actions/upload-artifact@v4 with: name: debug.kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg - path: nupkg\kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg + path: ${{ github.workspace }}/src/nupkg/kasthack.binding.wf.${{ env.PROJECT_VERSION }}.nupkg" # - name: Push NuGet package # if: matrix.configuration == 'Release' @@ -91,6 +91,6 @@ jobs: with: tag_name: ${{ env.PROJECT_VERSION }} name: ${{ env.PROJECT_VERSION }} - files: ./nupkg/*.nupkg + files: ${{ github.workspace }}/src/nupkg/*.nupkg env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}