forked from Traderain/VolvoWrench
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 825 Bytes
/
CI.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
name: CI
on:
push:
paths-ignore:
- .gitignore
- README.md
pull_request:
paths-ignore:
- .gitignore
- README.md
workflow_dispatch:
schedule:
- cron: '0 0 1 * *' # Monthly
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: nuget/setup-nuget@v1
- name: nuget restore
run: nuget restore
- uses: microsoft/setup-msbuild@v1
- name: Build
run: msbuild /m /nologo /t:Build /p:Configuration=Release /p:AllowedReferenceRelatedFileExtensions=none VolvoWrench.sln
- name: Prepare artifacts
run: rm VolvoWrench\bin\Release\* -Include *.config, *.pdb, *.xml
- uses: actions/upload-artifact@v2
with:
name: Portable
path: VolvoWrench\bin\Release