Skip to content

Commit aed225e

Browse files
vonzshikroji
authored andcommitted
Replace --output with --property for pack in ci to fix 7.0.2 breaking change (#4938)
dotnet/sdk#30625 (comment) (cherry picked from commit 09fa2a2)
1 parent 0d3e8ad commit aed225e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ jobs:
351351
dotnet-version: ${{ env.dotnet_sdk_version }}
352352

353353
- name: Pack
354-
run: dotnet pack Npgsql.sln --configuration Release --output nupkgs --version-suffix "ci.$(date -u +%Y%m%dT%H%M%S)+sha.${GITHUB_SHA:0:9}" -p:ContinuousIntegrationBuild=true
354+
run: dotnet pack Npgsql.sln --configuration Release --property:PackageOutputPath="$PWD/nupkgs" --version-suffix "ci.$(date -u +%Y%m%dT%H%M%S)+sha.${GITHUB_SHA:0:9}" -p:ContinuousIntegrationBuild=true
355355

356356
- name: Upload artifacts (nupkg)
357357
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)