From 5b9fb71a0c3f61d88732b63aaa40388fb7232074 Mon Sep 17 00:00:00 2001 From: David Bond Date: Sun, 4 Oct 2026 22:30:07 +0100 Subject: [PATCH 1/2] Copilot Setup Steps: build with dotnet and stop it running on release tags The 'Build application' step ran 'npx run build', which has never worked here (there is no 'run' package and no build script), so the workflow failed on every release tag. Build the solution with dotnet instead, and restrict the push trigger to branches so tags no longer start it. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/copilot-setup-steps.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 3cf133a2b..5deea1ab6 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -3,6 +3,9 @@ name: "Copilot Setup Steps" on: workflow_dispatch: push: + # Branches only: a tag push (every release) would otherwise start this workflow too, because path + # filters are not applied to tags. + branches: [main] paths: - .github/workflows/copilot-setup-steps.yml pull_request: @@ -29,6 +32,10 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps - # Customize this step as needed + - uses: actions/setup-dotnet@v6 + with: + dotnet-version: 10.0.x + + # The library and its demo hosts are built with .NET; there is no npm build script. - name: Build application - run: npx run build + run: dotnet build PanoramicData.Blazor.slnx --configuration Release From de373a89319de8284b1a9ddcbba47d4593fecf71 Mon Sep 17 00:00:00 2001 From: David Bond Date: Sun, 4 Oct 2026 22:34:19 +0100 Subject: [PATCH 2/2] Copilot Setup Steps: check out full history so Nerdbank.GitVersioning can build Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/copilot-setup-steps.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 5deea1ab6..88d6292af 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -21,6 +21,8 @@ jobs: steps: - uses: actions/checkout@v7 + with: + fetch-depth: 0 # Nerdbank.GitVersioning needs the full history to calculate the version - uses: actions/setup-node@v7 with: