mirror of
https://github.com/fergalmoran/EFCore.NamingConventions.git
synced 2025-12-22 09:38:21 +00:00
Pack CI vs. release packages
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -18,7 +18,12 @@ jobs:
|
||||
- name: Test
|
||||
run: dotnet test
|
||||
|
||||
- name: Pack
|
||||
- name: Pack NuGet packages (CI versions)
|
||||
if: startsWith(github.ref, 'refs/heads/')
|
||||
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
|
||||
|
||||
- name: Pack NuGet packages (Release versions)
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: dotnet pack --configuration Release --output nupkgs -p:ContinuousIntegrationBuild=true
|
||||
|
||||
- name: Upload artifacts
|
||||
|
||||
Reference in New Issue
Block a user