-
-
Notifications
You must be signed in to change notification settings - Fork 99
45 lines (36 loc) · 978 Bytes
/
build-beta.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
40
41
42
43
44
45
name: Build beta
env:
SLN_PATH: Source/
on:
workflow_dispatch:
push:
branches:
- development
paths-ignore:
- 'README.md'
jobs:
build:
name: Build beta
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive # Updates the Languages submodule
- name: Setup Dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.0.x
- name: Install Mod Dependencies
run: dotnet restore ${{ env.SLN_PATH }}
- name: Build Mod
run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore
- run: mkdir -p output/Multiplayer
- name: Move files
run: mv About/ Assemblies/ AssembliesCustom/ Defs/ Languages/ Textures/ output/Multiplayer
- name: Upload Mod Artifacts
uses: actions/upload-artifact@v2
with:
name: Multiplayer-beta
path: |
output/