forked from RocketModFix/RocketModFix
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (50 loc) · 1.25 KB
/
Copy pathRocket.Core.yaml
File metadata and controls
59 lines (50 loc) · 1.25 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Rocket.Core
on:
create:
tags:
- "*"
push:
branches: [ master ]
paths:
- '.github/workflows/Rocket.Core.yaml'
- 'Rocket/Rocket.Core/**'
pull_request:
branches: [ master ]
paths:
- '.github/workflows/Rocket.Core.yaml'
- 'Rocket/Rocket.Core/**'
jobs:
Compatibility-Check:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v5
name: Setup .NET
with:
dotnet-version: 8.x
- name: Check compatibility with original repository
uses: ./.github/actions/compatibility-check
with:
fail-on-breaking-changes: true
build:
name: "Rocket.Core Build"
runs-on: ubuntu-latest
needs: Compatibility-Check
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v5
name: Setup .NET
with:
dotnet-version: 8.x
- uses: ./.github/actions/project-build
id: project-build
with:
project_path: Rocket/Rocket.Core
github_token: ${{ secrets.PAT }}
nuget_key: ${{ secrets.NUGET_DEPLOY_KEY }}
nuget_push: true