blob: 05cb581dcdbbf40f0c1d9b162e2af0f27b2268a1 (
plain)
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
|
name: Build
on:
schedule:
- cron: '30 5 1 * *'
push:
branches:
- main
pull_request:
branches:
- main
types: [opened, synchronize, reopened]
release:
types: [created]
jobs:
test:
name: MSBuild
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Build solution for release
run: msbuild PastDSE.sln -t:rebuild -property:Configuration=Release
- name: Build solution for debug
run: msbuild PastDSE.sln -t:rebuild -property:Configuration=Debug
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: x64
retention-days: 14
|