Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 351c3fb

Browse files
committed
Update examples to use actions/checkout@v2
1 parent b52cd69 commit 351c3fb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ See [action.yml](action.yml)
1616
## Basic
1717
```yaml
1818
steps:
19-
- uses: actions/checkout@v1
19+
- uses: actions/checkout@v2
2020
- uses: actions/setup-java@v1
2121
with:
2222
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). To specify a specific version for JDK 8 or older use the following pattern (8.0.x)
@@ -28,7 +28,7 @@ steps:
2828
## Local file
2929
```yaml
3030
steps:
31-
- uses: actions/checkout@v1
31+
- uses: actions/checkout@v2
3232
- uses: actions/setup-java@v1
3333
with:
3434
java-version: '4.0.0'
@@ -48,7 +48,7 @@ jobs:
4848
java: [ 1.6, 6.0.83, 7, 7.0.181, 8, 8.0.192, 9.0.x, 10, 11.0.x, 11.0.3, 12, 13 ]
4949
name: Java ${{ matrix.java }} sample
5050
steps:
51-
- uses: actions/checkout@master
51+
- uses: actions/checkout@v2
5252
- name: Setup java
5353
uses: actions/setup-java@v1
5454
with:
@@ -64,7 +64,7 @@ jobs:
6464
runs-on: ubuntu-latest
6565

6666
steps:
67-
- uses: actions/checkout@v1
67+
- uses: actions/checkout@v2
6868
- name: Set up JDK 1.8
6969
uses: actions/setup-java@v1
7070
with:
@@ -129,7 +129,7 @@ jobs:
129129
runs-on: ubuntu-latest
130130
131131
steps:
132-
- uses: actions/checkout@v1
132+
- uses: actions/checkout@v2
133133
134134
- name: Set up JDK 1.8
135135
uses: actions/setup-java@v1
@@ -159,7 +159,7 @@ jobs:
159159
runs-on: ubuntu-latest
160160
161161
steps:
162-
- uses: actions/checkout@v1
162+
- uses: actions/checkout@v2
163163
- name: Set up JDK 1.8 for Shared Runner
164164
uses: actions/setup-java@v1
165165
with:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy