-
Notifications
You must be signed in to change notification settings - Fork 44
44 lines (42 loc) · 1.1 KB
/
OpenMod.Core.yaml
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
40
41
42
43
44
name: OpenMod.Core
on:
create:
tags:
- "*"
push:
branches: [ main ]
paths:
- '.github/workflows/OpenMod.Core.yaml'
- 'framework/OpenMod.Common/**'
- 'framework/OpenMod.Core/**'
- 'framework/OpenMod.NuGet/**'
- 'framework/OpenMod.API/**'
- 'framework/tests/OpenMod.Core.Tests/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/OpenMod.Core.yaml'
- 'framework/OpenMod.Common/**'
- 'framework/OpenMod.Core/**'
- 'framework/OpenMod.NuGet/**'
- 'framework/OpenMod.API/**'
- 'framework/tests/OpenMod.Core.Tests/**'
jobs:
build:
name: "OpenMod.Core Build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v3
name: Setup .NET
with:
dotnet-version: 7.x
- uses: ./.github/actions/project-build
id: project-build
with:
project_path: framework/OpenMod.Core
github_token: ${{ secrets.GITHUB_TOKEN }}
nuget_key: ${{ secrets.NUGET_DEPLOY_KEY }}
nuget_push: true