Skip to content

Commit

Permalink
Create build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlacey authored Nov 17, 2024
1 parent 8e9612b commit 7c6b7b6
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Build"

on:
push:
branches: [main]
paths-ignore:
- '*.md'
pull_request:
branches: [main]
paths-ignore:
- '*.md'

jobs:
build:
name: Build
runs-on: windows-2022

permissions:
checks: write

# needed unless run with comment_mode: off
pull-requests: write

env:
Configuration: Debug

steps:
- uses: actions/checkout@v4

- name: Setup .NET build dependencies
uses: timheuer/bootstrap-dotnet@v2
with:
nuget: 'false'
sdk: 'false'
msbuild: 'true'

- name: Build
run: msbuild /v:m -restore /p:OutDir=\_built ./WarnAboutTodos.sln

0 comments on commit 7c6b7b6

Please sign in to comment.