Build #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |