forked from eDonnes124/Town-Of-Us-R
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 827 Bytes
/
main.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
name: AutoBuild .NET
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/cache@v2
with:
path: |
~/.nuget/packages
~/.cache/bepinex
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
- name: Build
run: dotnet build source/TownOfUs.csproj --configuration Release
- name: Upload TownOfus
uses: actions/upload-artifact@v2
with:
name: TownOfUs.dll
path: source/bin/Release/net6.0/TownOfUs.dll