Skip to content

Commit 2681e89

Browse files
author
Danny McCormick
authored
Add checkout
1 parent f3fb46b commit 2681e89

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ See [action.yml](action.yml)
1212
Basic:
1313
```yaml
1414
actions:
15+
- uses: actions/checkout@latest
1516
- uses: actions/setup-java@latest
1617
with:
1718
version: 9.0.4 // The JDK version to make available on the path. Takes a whole or semver Jdk version, or 1.x syntax (e.g. 1.8 => Jdk 8.x)
@@ -22,6 +23,7 @@ actions:
2223
From local file:
2324
```yaml
2425
actions:
26+
- uses: actions/checkout@latest
2527
- uses: actions/setup-java@latest
2628
with:
2729
version: 4.0.0
@@ -39,6 +41,7 @@ jobs:
3941
java: [ 1.6, 9.0.x, 12.0.2 ]
4042
name: Java ${{ matrix.java }} sample
4143
actions:
44+
- uses: actions/checkout@latest
4245
- name: Setup java
4346
uses: actions/setup-java@latest
4447
with:

0 commit comments

Comments
 (0)