Skip to content

Commit

Permalink
fix: move to non-empty env blocks in build-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deregtd committed Oct 3, 2024
1 parent f430296 commit bc558e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,16 @@ jobs:
## <</Stencil::Block>>
- name: Build Test repo
run: mise run buildtest
env:
# Fill in GITHUB_TOKEN here if you need a custom token to read module dependencies
## <<Stencil::Block(buildTestEnvVars)>>
# Fill in env: -> GITHUB_TOKEN here if you need a custom token to read module dependencies
## <<Stencil::Block(buildTestEnvVars)>>

## <</Stencil::Block>>
## <</Stencil::Block>>
- name: Run Tests
run: mise run runtest
env:
# Fill in GITHUB_TOKEN here if you need a custom token to read module dependencies
## <<Stencil::Block(runTestEnvVars)>>
# Fill in env: -> GITHUB_TOKEN here if you need a custom token to read module dependencies
## <<Stencil::Block(runTestEnvVars)>>

## <</Stencil::Block>>
## <</Stencil::Block>>
## <<Stencil::Block(buildteststeps)>>

## <</Stencil::Block>>
Expand Down
14 changes: 6 additions & 8 deletions templates/.github/workflows/build-release.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,16 @@ jobs:
## <</Stencil::Block>>
- name: Build Test repo
run: mise run buildtest
env:
# Fill in GITHUB_TOKEN here if you need a custom token to read module dependencies
## <<Stencil::Block(buildTestEnvVars)>>
# Fill in env: -> GITHUB_TOKEN here if you need a custom token to read module dependencies
## <<Stencil::Block(buildTestEnvVars)>>
{{ file.Block "buildTestEnvVars" }}
## <</Stencil::Block>>
## <</Stencil::Block>>
- name: Run Tests
run: mise run runtest
env:
# Fill in GITHUB_TOKEN here if you need a custom token to read module dependencies
## <<Stencil::Block(runTestEnvVars)>>
# Fill in env: -> GITHUB_TOKEN here if you need a custom token to read module dependencies
## <<Stencil::Block(runTestEnvVars)>>
{{ file.Block "runTestEnvVars" }}
## <</Stencil::Block>>
## <</Stencil::Block>>
## <<Stencil::Block(buildteststeps)>>
{{ file.Block "arguments" }}
## <</Stencil::Block>>
Expand Down

0 comments on commit bc558e0

Please sign in to comment.