Skip to content

Commit

Permalink
Remove explicit --configuration Release
Browse files Browse the repository at this point in the history
Pack uses the release configuration by default now.
  • Loading branch information
bash authored Nov 20, 2023
1 parent 523530c commit 15c9ab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-nightly-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 15c9ab7

Please sign in to comment.