From 12a5f4973ada57dac9227c4bec5257911dcf5577 Mon Sep 17 00:00:00 2001 From: jbe2277 Date: Fri, 1 Nov 2024 21:09:29 +0100 Subject: [PATCH] Build: Improve main.yml --- .github/workflows/main.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06436a8..c5ed4e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,12 +4,18 @@ on: paths: - 'src/**' - '.github/workflows/**' + jobs: build: + name: 🛠️ Build and test runs-on: windows-2022 - steps: - - uses: actions/checkout@v3 - - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.1 - - name: Build + + steps: + - name: 🔖 Check-out + uses: actions/checkout@v4 + + - name: ⚙️ Setup MSBuild + uses: microsoft/setup-msbuild@v2 + + - name: 🛠️ Build run: msbuild ./src/DotNetPad/DotNetPad.sln /restore /p:Configuration=Release /p:GenerateAppxPackageOnBuild=false