Skip to content

Commit

Permalink
Add note about checkout to separate file docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jclem committed May 18, 2020
1 parent e16145c commit a8704b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ jobs:
echo-input:
runs-on: ubuntu-latest
steps:
- uses: @actions/checkout@v2
- uses: @actions/github-script@0.9.0
with:
script: |
Expand All @@ -211,3 +212,7 @@ the inline script.
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
external function.

Additionally, you'll want to use the [checkout
action](https://github.com/actions/checkout) to make sure your script file is
available.

0 comments on commit a8704b6

Please sign in to comment.