Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
Loading