Skip to content

add on dispatch

add on dispatch #3

Workflow file for this run

name: PR CI
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build (.NET 9 WPF)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET 9 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
cache: true
- name: Restore
run: dotnet restore MagickCrop/MagickCrop.csproj
- name: Build
run: dotnet build MagickCrop/MagickCrop.csproj --configuration Release --no-restore