diff --git a/.github/workflows/pack.yaml b/.github/workflows/pack.yaml index 460a3e1..7663433 100644 --- a/.github/workflows/pack.yaml +++ b/.github/workflows/pack.yaml @@ -45,12 +45,6 @@ jobs: working-directory: src run: dotnet pack -o ${{ env.PACKAGE_PATH }} - - name: Setup NuGet - uses: NuGet/setup-nuget@v1.0.5 - with: - nuget-api-key: ${{ secrets.NUGET_KEY }} - nuget-version: latest - - name: Get certificate id: cert_file uses: timheuer/base64-to-file@v1 @@ -60,7 +54,7 @@ jobs: # Sign the package - name: Sign NuGet Package - run: nuget sign "**/*.nupkg" -CertificatePath ${{ steps.cert_file.outputs.filePath }} -CertificatePassword "${{ secrets.CERT_PWD }}" -Timestamper http://timestamp.digicert.com -NonInteractive + run: dotnet nuget sign "**/*.nupkg" --certificate-path ${{ steps.cert_file.outputs.filePath }} --certificate-password "${{ secrets.CERT_PWD }}" --timestamper http://timestamp.digicert.com - name: Publish NuGet package run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json diff --git a/src/templatepack.csproj b/src/templatepack.csproj index 2e91a0a..afd37c8 100644 --- a/src/templatepack.csproj +++ b/src/templatepack.csproj @@ -17,11 +17,13 @@ false content 1.2.0 + README.md +