Skip to content

Commit

Permalink
Add checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny McCormick authored and GitHub committed Jul 23, 2019
1 parent f3fb46b commit 2681e89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ See [action.yml](action.yml)
Basic:
```yaml
actions:
- uses: actions/checkout@latest
- uses: actions/setup-java@latest
with:
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)
Expand All @@ -22,6 +23,7 @@ actions:
From local file:
```yaml
actions:
- uses: actions/checkout@latest
- uses: actions/setup-java@latest
with:
version: 4.0.0
Expand All @@ -39,6 +41,7 @@ jobs:
java: [ 1.6, 9.0.x, 12.0.2 ]
name: Java ${{ matrix.java }} sample
actions:
- uses: actions/checkout@latest
- name: Setup java
uses: actions/setup-java@latest
with:
Expand Down

0 comments on commit 2681e89

Please sign in to comment.