Skip to content

Commit

Permalink
Build: Improve main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 authored Nov 1, 2024
1 parent 6727559 commit 12a5f49
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- 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

0 comments on commit 12a5f49

Please sign in to comment.