Fix secure supply change issue #109
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: | |
push: | |
branches: | |
- develop | |
- 'release_*' | |
pull_request: | |
branches: | |
- develop | |
- 'release_*' | |
jobs: | |
build: | |
name: Build Test | |
runs-on: windows-2022 | |
# info about windows-2022 https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md | |
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 }} |