mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 20:17:24 +00:00
Readme: fix env variable usage
This commit is contained in:
parent
28e5ebafd7
commit
a302d2b61f
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ jobs:
|
||||||
- uses: actions/github-script@v2
|
- uses: actions/github-script@v2
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const script = require(`${process.env.GITHUB_WORKSPACE}/path/to/script.js`)
|
const script = require(`${{ env.GITHUB_WORKSPACE }}/path/to/script.js`)
|
||||||
console.log(script({github, context}))
|
console.log(script({github, context}))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue