From 15c9ab7c533f0690a2b4f58f38a9f0bb8573e698 Mon Sep 17 00:00:00 2001 From: Tau <4602612+bash@users.noreply.github.com> Date: Mon, 20 Nov 2023 14:50:25 +0000 Subject: [PATCH] Remove explicit `--configuration Release` Pack uses the release configuration by default now. --- .github/workflows/build.yml | 2 +- .github/workflows/publish-nightly-package.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 53119ae9..1b506bc5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,7 +65,7 @@ jobs: - uses: actions/setup-dotnet@v3 name: Install Current .NET SDK - name: Generate NuGet Packages - run: dotnet pack --configuration Release --output nupkg + run: dotnet pack --output nupkg - uses: actions/upload-artifact@v3 if: success() && github.ref == 'refs/heads/main' with: diff --git a/.github/workflows/publish-nightly-package.yml b/.github/workflows/publish-nightly-package.yml index 54de91e6..7d36db7b 100644 --- a/.github/workflows/publish-nightly-package.yml +++ b/.github/workflows/publish-nightly-package.yml @@ -13,6 +13,6 @@ jobs: - uses: actions/setup-dotnet@v3 name: Install Current .NET SDK - name: Pack Packages - run: dotnet pack Funcky/Funcky.csproj --configuration Release --output nupkg --version-suffix "nightly.$(git rev-parse --short "${{github.sha}}")" /p:GeneratePackageOnBuild=false + run: dotnet pack Funcky/Funcky.csproj --output nupkg --version-suffix "nightly.$(git rev-parse --short "${{github.sha}}")" - name: Push Package run: dotnet nuget push --source https://nuget.pkg.github.com/polyadic/index.json --api-key ${{secrets.GITHUB_TOKEN}} nupkg/Funcky.*.nupkg