diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-09-16 18:04:48 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-09-16 19:58:40 +0200 |
commit | f6c8076def805b094003990307874c54e711da1f (patch) | |
tree | b65d10e5343a8ee179710fe9588f3d080cb07562 | |
parent | 3783284eee987e30a00c99381db91f6ec53b329e (diff) |
Added CI MSBuild.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | .github/workflows/build.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..df15291 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,36 @@ +name: Build +on: + schedule: + - cron: '30 5 1 * *' + + push: + branches: + - master + - gh-msbuild + pull_request: + branches: + - master + - gh-msbuild + 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: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: build-artifacts + path: x64 + retention-days: 14 |