Add GitHub Actions workflow for NuGet package build
This commit is contained in:
22
.github/workflows/pull_request_main.yml
vendored
Normal file
22
.github/workflows/pull_request_main.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: Build NuGet package on main branch pull request
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "main"
|
||||||
|
paths:
|
||||||
|
- "TimetableDesigner.Backend.Events**"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6.0.2
|
||||||
|
- name: Setup .NET
|
||||||
|
uses: actions/setup-dotnet@v3
|
||||||
|
with:
|
||||||
|
dotnet-version: 10.0.x
|
||||||
|
- name: Build
|
||||||
|
run: dotnet build
|
||||||
Reference in New Issue
Block a user