Skip to content

Commit b759144

Browse files
committed
Update README
Pin to latest `v1` action.
1 parent 7f04ebe commit b759144

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ See [action.yml](action.yml)
1616
Basic:
1717
```yaml
1818
steps:
19-
- uses: actions/checkout@latest
19+
- uses: actions/checkout@v1
2020
- uses: actions/setup-java@v1
2121
with:
22-
java-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+
java-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)
2323
architecture: x64 // (x64 or x86) - defaults to x64
2424
- run: java -cp java HelloWorldApp
2525
```
2626
2727
From local file:
2828
```yaml
2929
steps:
30-
- uses: actions/checkout@master
30+
- uses: actions/checkout@v1
3131
- uses: actions/setup-java@v1
3232
with:
3333
java-version: '4.0.0'

0 commit comments

Comments
 (0)