Skip to content

Commit 1a7349d

Browse files
committed
Fix invalid env context in release workflow job-level env blocks
The smoke-test and pages-deploy jobs redefined VERSION via ${{ env.VERSION }} in their job-level env: blocks, but the env context is not available there, failing workflow validation. The workflow-level env.VERSION is already inherited by all jobs and steps, so the redundant redefinitions are removed. https://claude.ai/code/session_014crGVw5Bwiv3nv4EoBimbz
1 parent 41e61a5 commit 1a7349d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,6 @@ jobs:
500500
mdsmith version
501501
runs-on: ubuntu-latest
502502
container: ${{ matrix.container }}
503-
env:
504-
VERSION: ${{ env.VERSION }}
505503
steps:
506504
- name: Install
507505
run: ${{ matrix.install }}
@@ -544,11 +542,6 @@ jobs:
544542
# it expects the binary already on PATH — so no pin lives
545543
# there.)
546544
HUGO_VERSION: "0.161.1"
547-
# The release tag drives the version Hugo renders in
548-
# ``.Site.Params.version`` and the on-disk pin in
549-
# website/hugo.toml. Stamp validates that the value has
550-
# no leading "v" before rewriting, so strip it here.
551-
VERSION: ${{ env.VERSION }}
552545
steps:
553546
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
554547
with:

0 commit comments

Comments
 (0)