-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (30 loc) · 1.33 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Publish NuGet packages
on:
push:
branches:
- master # Default release branch
jobs:
warmup:
name: Warm-Up
runs-on: windows-latest
strategy:
matrix:
zen-project: [Base,App,Cloud,Media,Storage,MessageQueue,Module.MQ.RabbitMQ,Web,Web.App,Web.Auth,Web.GraphQL,Web.OpenApi,Service.Maintenance,Module.Cache.Memory,Module.Cache.Redis,Module.Cloud.AWS,Module.Cloud.Google,Module.Data.LiteDB,Module.Data.MongoDB,Module.Data.MySql,Module.Data.Oracle,Module.Data.Relational,Module.Data.SqlServer,Module.Encryption.AES,Pebble.CrossModelMap,Pebble.Database,Pebble.FlexibleData,Pebble.Geo,Provider.Facebook,Provider.GitHub,Provider.Google,Provider.Microsoft,Provider.Steam,Provider.Discord,Web.SelfHost]
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v1
- name: Nerdbank.GitVersioning
uses: AArnott/[email protected]
with:
setAllVars: true
- name: Publish Zen.${{matrix.zen-project}} NuGet
uses: rohith/[email protected]
continue-on-error: true
with:
PROJECT_FILE_PATH: Zen.${{matrix.zen-project}}/Zen.${{matrix.zen-project}}.csproj
VERSION_STATIC: ${{env.NBGV_Version}}
NUGET_KEY: ${{secrets.NUGET_API_KEY}}