Merge pull request #156 from chudyPB/post-hexacon #235
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
on: [push, pull_request] | |
name: Build | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Nuget.exe | |
uses: nuget/setup-nuget@v1 | |
- name: Restore packages | |
run: nuget restore ysoserial.sln | |
- name: Setup MSBuild.exe | |
uses: microsoft/[email protected] | |
- name: Build with MSBuild | |
run: msbuild ysoserial.sln -p:Configuration=Release | |
- name: Prepare build artifact for stashing | |
run: | | |
mkdir release | |
move D:\a\ysoserial.net\ysoserial.net\ysoserial\bin\Release .\release | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: ysoserial-${{ github.sha }} | |
path: .\release |