Skip to content

Commit

Permalink
chore: Use checkout@v2 for code examples (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Feb 6, 2020
1 parent 1c5c137 commit ada4b78
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ See [action.yml](action.yml)
Basic:
```yaml
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
Expand All @@ -34,7 +34,7 @@ jobs:
node: [ '10', '8' ]
name: Node ${{ matrix.node }} sample
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
Expand All @@ -46,7 +46,7 @@ jobs:
Publish to npmjs and GPR with npm:
```yaml
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
Expand All @@ -66,7 +66,7 @@ steps:
Publish to npmjs and GPR with yarn:
```yaml
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
Expand All @@ -86,7 +86,7 @@ steps:
Use private packages:
```yaml
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
Expand Down

0 comments on commit ada4b78

Please sign in to comment.