2022-04-13 22:02:37 +03:00
|
|
|
name: Universal Valve Toolbox - develop
|
2022-04-13 21:42:41 +03:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ develop ]
|
|
|
|
|
2022-04-13 21:52:24 +03:00
|
|
|
env:
|
|
|
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
|
|
|
|
|
2022-04-13 21:42:41 +03:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
2022-04-13 21:52:24 +03:00
|
|
|
|
2022-04-13 21:42:41 +03:00
|
|
|
steps:
|
2022-04-13 21:52:24 +03:00
|
|
|
|
|
|
|
- name: Set the value
|
|
|
|
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
|
|
|
|
|
2022-04-13 21:55:28 +03:00
|
|
|
- name: Checkout Code
|
|
|
|
uses: actions/checkout@master
|
2022-04-13 22:02:37 +03:00
|
|
|
with:
|
|
|
|
clean: true
|
|
|
|
fetch-depth: 0
|
|
|
|
lfs: true
|
|
|
|
submodules: true
|
2022-04-13 21:55:28 +03:00
|
|
|
|
|
|
|
- name: Add msbuild to PATH
|
|
|
|
uses: microsoft/setup-msbuild@v1.1
|
|
|
|
with:
|
|
|
|
vs-prerelease: true
|
|
|
|
msbuild-architecture: x86
|
|
|
|
|
2022-04-13 21:42:41 +03:00
|
|
|
- name: Setup NuGet
|
2022-04-13 21:55:28 +03:00
|
|
|
uses: NuGet/setup-nuget@v1
|
|
|
|
|
2022-04-13 21:42:41 +03:00
|
|
|
- name: Restore NuGet Packages
|
|
|
|
run: nuget restore src/UniversalValveToolbox.sln
|
|
|
|
|
|
|
|
- name: Build Debug
|
|
|
|
run: msbuild src/UniversalValveToolbox.sln /p:Configuration=Debug
|