Development (#1) (#119) #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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,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,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/nbgv@v0.4 | |
with: | |
setAllVars: true | |
- name: Publish Zen.${{matrix.zen-project}} NuGet | |
uses: rohith/publish-nuget@v2.2.0 | |
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}} |