CI - publish builds on master only

other branches can be published manually
This commit is contained in:
Diogo Trindade committed 2023-04-14 11:42:04 +01:00
1 parent 2f270c9c03
commit d704d398cd
3 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
- name: Setup .NET - name: Setup .NET
uses: actions/setup-dotnet@v2 uses: actions/setup-dotnet@v2
with: with:
dotnet-version: '6.0.x' dotnet-version: "7.0.x"
- name: Setup DocFX - name: Setup DocFX
run: choco install docfx -y run: choco install docfx -y
- name: Build Core - name: Build Core
+2
View File
@@ -3,6 +3,8 @@ name: Master - Build
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches:
- master
jobs: jobs:
version: version:
+2
View File
@@ -3,6 +3,8 @@ name: Publish Nuget packages
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches:
- master
jobs: jobs:
version: version: