Skip to content

chore(deps): update actions/checkout action to v7 #49

chore(deps): update actions/checkout action to v7

chore(deps): update actions/checkout action to v7 #49

Workflow file for this run

name: Build Windows
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: '10.0.x'
dotnet-quality: 'preview'
- name: Restore
run: dotnet restore windows/QuadClicker.csproj
- name: Build (Release)
run: dotnet build windows/QuadClicker.csproj -c Release --no-restore
- name: Test
# Test project Compile-Includes source files from the main project, so its
# output dir is independent — let `dotnet test` handle build + run in one shot.
run: dotnet test windows/Tests/QuadClicker.Tests.csproj -c Release -v normal
- name: Publish
run: dotnet publish windows/QuadClicker.csproj -c Release -r win-x64 --self-contained false -o artifacts/windows
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: QuadClicker-windows-${{ github.sha }}
path: artifacts/windows/
retention-days: 30