From 53eb74800ef900fad4ea032111f802d44c98c37b Mon Sep 17 00:00:00 2001 From: AeonLucid Date: Sat, 30 Oct 2021 19:27:02 +0200 Subject: [PATCH] GitHub workflow for Prospect.Launcher --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e3a7bfa --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build + +on: [push] + +jobs: + builds: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup Dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '5.0.x' + + - name: Setup MSBUILD + uses: microsoft/setup-msbuild@v1.0.3 + + - name: Restore NuGet + run: dotnet restore ./src/ + + - name: Build Prospect.Agent + run: msbuild /m /p:Configuration=Release ./src/Prospect.Agent/Prospect.Agent.vcxproj + + - name: Build Prospect.Launcher + run: dotnet publish -o ./build-app -r win-x64 -c Release -v minimal ./src/Prospect.Launcher/Prospect.Launcher.csproj