Skip to content

Update dotnet-desktop.yml #4

Update dotnet-desktop.yml

Update dotnet-desktop.yml #4

name: Build RandomCall
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet packages
run: nuget restore RandomCall-NET.sln
- name: Build with MSBuild
run: msbuild RandomCall-NET.sln /p:Configuration=Release
- name: Upload .exe artifact
uses: actions/upload-artifact@v4
with:
name: RandomCall-exe
path: '**/bin/Release/*.exe'