diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 18e69d6..a00838a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,8 +8,9 @@ jobs: build: uses: purview-dev/build/.github/workflows/purview-build.yml@main with: - # Pin the shared build tool and SDK so the pipeline is reproducible rather - # than resolving the latest Purview.Build and .NET SDK at job time. - build-version: 0.8.1 - dotnet-version: 10.0.x + # The shared pipeline is resolved at job time rather than pinned: this + # repository then always runs the current Purview.Build (a pin froze the + # gate at 0.8.1 while the pipeline moved on to 0.9.1). Only the SDK is + # pinned, because the runner image's .NET drifts between builds. + dotnet-version: 11.0.x secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 194641b..1988282 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: branches: [main] paths: - package.json + # A release that failed can be retried without touching package.json: the + # pipeline is resolved at job time, so a re-dispatch runs the current one. + workflow_dispatch: # Serialize releases; the reusable workflow skips when the v{version} tag already exists. concurrency: @@ -15,10 +18,8 @@ jobs: release: uses: purview-dev/build/.github/workflows/purview-release.yml@main with: - # Pin the shared build tool and SDK so the release is reproducible rather - # than resolving the latest Purview.Build and .NET SDK at job time. - build-version: 0.8.1 - dotnet-version: 10.0.x + # Resolved at job time, like the PR gate (see pr.yml). + dotnet-version: 11.0.x # The site publishes no NuGet package; tag + GitHub release (with the dist zip attached) only. release-mode: GitHubRelease upload-artifacts: true