From bb539cb5836eabab9ac506089cdc89674ebee056 Mon Sep 17 00:00:00 2001 From: Insanittyx Date: Tue, 9 Jul 2024 22:01:03 +0200 Subject: [PATCH] Update cd-pipeline.yaml --- .github/workflows/cd-pipeline.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd-pipeline.yaml b/.github/workflows/cd-pipeline.yaml index ad9b64d..5d58b47 100644 --- a/.github/workflows/cd-pipeline.yaml +++ b/.github/workflows/cd-pipeline.yaml @@ -25,7 +25,13 @@ jobs: dotnet-version: '8.0.x' - name: Pack - run: dotnet pack ${{ matrix.project }} -c Release -o ./nupkg + run: dotnet pack ${{ matrix.project }} -c Release /p:Version=${{ github.event.release.tag_name }} -o ./nupkg + + - name: Upload NuGet Package as Artifact + uses: actions/upload-artifact@v3 + with: + name: ${{ matrix.project }} + path: ./nupkg/*.nupkg - name: Publish to NuGet env: