forked from SmartlyDressedGames/Legally-Distinct-Missile
-
Notifications
You must be signed in to change notification settings - Fork 8
62 lines (53 loc) · 1.32 KB
/
Copy pathRocket.Unturned.yaml
File metadata and controls
62 lines (53 loc) · 1.32 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
60
61
62
name: Rocket.Unturned
on:
create:
tags:
- "*"
push:
branches: [ master ]
paths:
- '.github/workflows/Rocket.Unturned.yaml'
- 'Rocket.Unturned/**'
pull_request:
branches: [ master ]
paths:
- '.github/workflows/Rocket.Unturned.yaml'
- 'Rocket.Unturned/**'
jobs:
Compatibility-Check:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v6
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.Unturned Build"
runs-on: ubuntu-latest
needs: Compatibility-Check
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v6
name: Setup .NET
with:
dotnet-version: 8.x
- uses: ./.github/actions/project-build
id: project-build
with:
project_path: Rocket.Unturned
github_token: ${{ secrets.GITHUB_TOKEN }}
nuget_key: ${{ secrets.NUGET_DEPLOY_KEY }}
nuget_push: true