Skip to content

Commit 2d68519

Browse files
authored
ci: bump checkout action to v2 (#1307)
v2 "Fetches only a single commit by default" which means we no longer need fetch-depth 10
1 parent c2dc463 commit 2d68519

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ jobs:
88
name: windows
99
runs-on: windows-2019
1010
steps:
11-
- uses: actions/checkout@v1
12-
with:
13-
fetch-depth: 10
11+
- uses: actions/checkout@v2
1412

1513
- uses: actions/cache@v1
1614
id: cache-dxfiles
@@ -55,9 +53,7 @@ jobs:
5553
continue-on-error: true
5654
- name: Link MySQL
5755
run: brew link --overwrite mysql
58-
- uses: actions/checkout@v1
59-
with:
60-
fetch-depth: 10
56+
- uses: actions/checkout@v2
6157
- name: Run Build
6258
run: ./linux-build.sh
6359

@@ -67,8 +63,6 @@ jobs:
6763
container:
6864
image: docker://sbx320/mtasa-blue-azure:latest
6965
steps:
70-
- uses: actions/checkout@v1
71-
with:
72-
fetch-depth: 10
66+
- uses: actions/checkout@v2
7367
- name: Run Build
7468
run: ./linux-build.sh

0 commit comments

Comments
 (0)