Skip to content

Migrate build to the official OneBranch template #130

Migrate build to the official OneBranch template

Migrate build to the official OneBranch template #130

Workflow file for this run

name: build
on:
push:
branches:
- develop
- 'release_*'
pull_request:
branches:
- develop
- 'release_*'
jobs:
build:
name: Build Test
runs-on: windows-latest
# info about windows-latest https://github.com/actions/runner-images
env:
DROP_DIR: drop
TEST_RESULT_DIR: drop\testresults
steps:
- uses: actions/checkout@v1
- name: Build Everything
shell: powershell
run: ./build.ps1
- name: Run Tests
run: dotnet test code.sln --configuration release --nologo --settings test\unittests\default.runsettings --results-directory ${{ env.TEST_RESULT_DIR }} --logger trx
- name: upload artifacts
uses: actions/upload-artifact@master
with:
name: release_drop
path: ${{ env.DROP_DIR }}