Skip to content

Improve aspect ratio preview for Original and Custom modes #79

Improve aspect ratio preview for Original and Custom modes

Improve aspect ratio preview for Original and Custom modes #79

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
env:
PROJECT_PATH: "MagickCrop/MagickCrop.csproj"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: "9.0.x"
- name: Install dependencies
run: dotnet restore ${{ env.PROJECT_PATH }}
- name: Build
run: dotnet build ${{ env.PROJECT_PATH }}
- name: Build for release and Publish
run: dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true -o publish
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: MagickCrop-winx64
path: .\publish