From 954b4bd372260d251033cbe55bd5c8b001c5f677 Mon Sep 17 00:00:00 2001 From: BiDuang Date: Wed, 29 Nov 2023 15:32:14 +0800 Subject: [PATCH] Update pre-release.yml --- .github/workflows/pre-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 24e8ab6..3019927 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -38,6 +38,6 @@ jobs: - name: Restore packages run: dotnet restore ProjBobcat/ProjBobcat.sln - name: Create the package - run: dotnet pack ProjBobcat/ProjBobcat.sln -c Release -p:PackageVersion=beta-${{ steps.current-time.outputs.formattedTime }}-${{github.sha}} + run: dotnet pack ProjBobcat/ProjBobcat.sln -c Release -p:PackageVersion="beta-${{ steps.current-time.outputs.formattedTime }}-${{ github.sha }}" - name: Publish the package to NuGet.org run: dotnet nuget push -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json "ProjBobcat/ProjBobcat/bin/Release/*.nupkg"