Skip to content

Commit 6e279c9

Browse files
authored
Make sure variables are taken from environment before being used. (#98)
1 parent 78e1f3f commit 6e279c9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/_shared-docs-build-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ jobs:
249249
core.setOutput('col-path', colpath)
250250
core.setOutput('checkout-path', checkoutPath)
251251
252+
const { RUNNER_TEMP, EVENT_ACTION, MERGE_COMMIT_SHA, GITHUB_EVENT_NUMBER } = process.env
253+
252254
var initPath = `${RUNNER_TEMP}/docsbuild`
253255
var skipInit = false
254256

.github/workflows/_shared-docs-build-push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ jobs:
183183
core.setOutput('col-path', colpath)
184184
core.setOutput('checkout-path', checkoutPath)
185185
186+
const { RUNNER_TEMP } = process.env
187+
186188
var initPath = `${RUNNER_TEMP}/docsbuild`
187189
var skipInit = false
188190

0 commit comments

Comments
 (0)