Skip to content

chore: ignore scratch PDFs in assets #26

chore: ignore scratch PDFs in assets

chore: ignore scratch PDFs in assets #26

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore
run: dotnet restore
- name: Build (Release)
run: dotnet build --configuration Release --no-restore
- name: Publish (win-x64, single file)
run: dotnet publish WinLens.csproj -c Release -r win-x64 --self-contained false -p:PublishSingleFile=true -o publish
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: WinLens-win-x64
path: publish/WinLens.exe