mirror of
https://github.com/fergalmoran/EFCore.NamingConventions.git
synced 2025-12-22 09:38:21 +00:00
Replace --output with --property for pack in ci to fix SDK breaking change (#188)
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -18,11 +18,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Pack NuGet packages (CI versions)
|
- name: Pack NuGet packages (CI versions)
|
||||||
if: startsWith(github.ref, 'refs/heads/') && github.event_name == 'push' && startsWith(github.repository, 'efcore/')
|
if: startsWith(github.ref, 'refs/heads/') && github.event_name == 'push' && startsWith(github.repository, 'efcore/')
|
||||||
run: dotnet pack --configuration Release --output nupkgs --version-suffix "ci.$(date -u +%Y%m%dT%H%M%S)+sha.${GITHUB_SHA:0:9}" -p:ContinuousIntegrationBuild=true
|
run: dotnet pack --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
|
||||||
|
|
||||||
- name: Pack NuGet packages (Release versions)
|
- name: Pack NuGet packages (Release versions)
|
||||||
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' && startsWith(github.repository, 'efcore/')
|
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' && startsWith(github.repository, 'efcore/')
|
||||||
run: dotnet pack --configuration Release --output nupkgs -p:ContinuousIntegrationBuild=true
|
run: dotnet pack --configuration Release --property:PackageOutputPath="$PWD/nupkgs" -p:ContinuousIntegrationBuild=true
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
if: github.event_name == 'push' && startsWith(github.repository, 'efcore/')
|
if: github.event_name == 'push' && startsWith(github.repository, 'efcore/')
|
||||||
|
|||||||
Reference in New Issue
Block a user