-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (32 loc) · 949 Bytes
/
dotnet.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
name: .NET
on:
push:
branches: [ 'master', 'development' ]
defaults:
run:
working-directory: Spixi-Bot
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Spixi-Bot
uses: actions/checkout@v2
with:
path: Spixi-Bot
- name: Checkout Ixian-Core
uses: actions/checkout@v2
with:
repository: ProjectIxian/Ixian-Core
path: Ixian-Core
ref: ${{ github.event.push.ref }}
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- name: Restore dependencies
run: nuget restore SpixiBot.sln
- name: Building Spixi-Bot
run: msbuild SpixiBot.sln
#- name: Running Unit Tests
# run: dotnet test UnitTests\bin\Debug\unittests.dll --verbosity normal