Add checkout

This commit is contained in:
Danny McCormick 2019-07-23 15:16:03 -04:00 committed by GitHub
parent f3fb46bc71
commit 2681e89870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,6 +12,7 @@ See [action.yml](action.yml)
Basic: Basic:
```yaml ```yaml
actions: actions:
- uses: actions/checkout@latest
- uses: actions/setup-java@latest - uses: actions/setup-java@latest
with: 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) 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:
From local file: From local file:
```yaml ```yaml
actions: actions:
- uses: actions/checkout@latest
- uses: actions/setup-java@latest - uses: actions/setup-java@latest
with: with:
version: 4.0.0 version: 4.0.0
@ -39,6 +41,7 @@ jobs:
java: [ 1.6, 9.0.x, 12.0.2 ] java: [ 1.6, 9.0.x, 12.0.2 ]
name: Java ${{ matrix.java }} sample name: Java ${{ matrix.java }} sample
actions: actions:
- uses: actions/checkout@latest
- name: Setup java - name: Setup java
uses: actions/setup-java@latest uses: actions/setup-java@latest
with: with: