-
Notifications
You must be signed in to change notification settings - Fork 19
39 lines (36 loc) · 901 Bytes
/
ci.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
36
37
38
39
name: ci
on:
workflow_dispatch:
inputs:
configuration:
type: choice
description: Build Configuration
required: true
default: Release
options:
- Release
- Debug
push-preview:
type: string
description: Push preview branch?
required: true
default: "false"
push:
branches-ignore:
- "preview/**"
paths-ignore:
- LICENSE
- README.md
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
jobs:
lint:
uses: f2calv/gha-workflows/.github/workflows/lint.yml@v1
ci:
uses: f2calv/gha-workflows/.github/workflows/dotnet-publish-nuget.yml@v1
with:
configuration: ${{ github.event.inputs.configuration }}
push-preview: ${{ github.event.inputs.push-preview }}
secrets:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}