Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 1e22de5

Browse files
Merge pull request #39 from SuperITMan/master
update actions/checkout from v1 to v2
2 parents ae4890e + cbc6ec0 commit 1e22de5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

responses/01_explain-checkout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Let's dig into the vocabulary of GitHub Actions.
1212
#### What is `checkout`?
1313

1414
The power of **GitHub** Actions lies in access to actions written by the :sparkles: GitHub community. Here, we'll use two Actions officially written and supported by GitHub:
15-
- `actions/checkout@v1` is used to ensure our virtual machine has a copy of our codebase. The checked out code will be used to run tests against.
15+
- `actions/checkout@v2` is used to ensure our virtual machine has a copy of our codebase. The checked out code will be used to run tests against.
1616
- `actions/setup-node@v1` is used to set up proper versions of Node.js since we'll be performing testing against multiple versions.
1717

1818
To learn more about the fields discussed here, see:

responses/08_new-job.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Let's now try to create a dedicated test job. This will allow us to separate the
2929
build:
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@v1
32+
- uses: actions/checkout@v2
3333
- name: npm install and build webpack
3434
run: |
3535
npm install
@@ -44,7 +44,7 @@ Let's now try to create a dedicated test job. This will allow us to separate the
4444
os: [ubuntu-latest, windows-2016]
4545
node-version: [8.x, 10.x]
4646
steps:
47-
- uses: actions/checkout@v1
47+
- uses: actions/checkout@v2
4848
- name: Use Node.js {% raw %}${{ matrix.node-version }}{% endraw %}
4949
uses: actions/setup-node@v1
5050
with:
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
7272
steps:
73-
- uses: actions/checkout@v1
73+
- uses: actions/checkout@v2
7474
- name: npm install and build webpack
7575
run: |
7676
npm install
@@ -86,7 +86,7 @@ jobs:
8686
node-version: [8.x, 10.x]
8787
8888
steps:
89-
- uses: actions/checkout@v1
89+
- uses: actions/checkout@v2
9090
- name: Use Node.js {% raw %}${{ matrix.node-version }}{% endraw %}
9191
uses: actions/setup-node@v1
9292
with:

responses/10_use-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ _You can follow the manual steps below, or accept the suggestion in the followin
2020
build:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v1
23+
- uses: actions/checkout@v2
2424
- name: npm install and build webpack
2525
run: |
2626
npm install

responses/11_use-download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ _You can follow the manual steps below, or accept the suggestions in the followi
2727
runs-on: ubuntu-latest
2828
...
2929
steps:
30-
- uses: actions/checkout@v1
30+
- uses: actions/checkout@v2
3131
- uses: actions/download-artifact@master
3232
with:
3333
name: webpack artifacts

0 commit comments

Comments
 (0)