mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +00:00
Add note about checkout to separate file docs
This commit is contained in:
parent
e16145c72e
commit
a8704b62a3
1 changed files with 5 additions and 0 deletions
|
|
@ -189,6 +189,7 @@ jobs:
|
||||||
echo-input:
|
echo-input:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: @actions/checkout@v2
|
||||||
- uses: @actions/github-script@0.9.0
|
- uses: @actions/github-script@0.9.0
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
|
@ -211,3 +212,7 @@ the inline script.
|
||||||
Note that because you can't `require` things like the GitHub context or
|
Note that because you can't `require` things like the GitHub context or
|
||||||
Actions Toolkit libraries, you'll want to pass them as arguments to your
|
Actions Toolkit libraries, you'll want to pass them as arguments to your
|
||||||
external function.
|
external function.
|
||||||
|
|
||||||
|
Additionally, you'll want to use the [checkout
|
||||||
|
action](https://github.com/actions/checkout) to make sure your script file is
|
||||||
|
available.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue