Skip to content

Build

Build #47

Workflow file for this run

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/[email protected]
- 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