From 27ce78b7531b53d1828a4600f2bd8ef2674d6b6e Mon Sep 17 00:00:00 2001 From: Dave Skender <8432125+DaveSkender@users.noreply.github.com> Date: Sun, 5 Jan 2025 19:06:53 -0500 Subject: [PATCH] ci: Remove unneeded NuGet setup (#1316) --- .github/workflows/deploy-package.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-package.yml b/.github/workflows/deploy-package.yml index 31435929f..0a754c26d 100644 --- a/.github/workflows/deploy-package.yml +++ b/.github/workflows/deploy-package.yml @@ -52,7 +52,7 @@ jobs: with: versionSpec: "5.x" preferLatestVersion: true - + - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y libxml2-utils @@ -89,7 +89,7 @@ jobs: if [[ "${{ inputs.environment }}" == "nuget.org" ]]; then echo "pkg_url=https://www.nuget.org/packages/${PACKAGE_NAME}/${{ steps.version_info.outputs.version }}" >> $GITHUB_OUTPUT else - echo "pkg_url=https://github.com/${{ github.repository }}/packages/nuget/${PACKAGE_NAME}/${{ steps.version_info.outputs.version }}" >> $GITHUB_OUTPUT + echo "pkg_url=https://github.com/${{ github.repository }}/pkgs/nuget/${PACKAGE_NAME}" >> $GITHUB_OUTPUT fi - name: Build library @@ -149,13 +149,6 @@ jobs: dotnet-version: "9.x" dotnet-quality: "ga" - - name: Setup NuGet - uses: nuget/setup-nuget@v2 - with: - nuget-api-key: ${{ secrets.NUGET_TOKEN }} - nuget-version: '6.x' - - - name: Download package uses: actions/download-artifact@v4 with: