Skip to content

Commit e0e014f

Browse files
committed
try this without fetch depth
1 parent 0d25030 commit e0e014f

File tree

1 file changed

+16
-30
lines changed

1 file changed

+16
-30
lines changed

.github/workflows/build.yaml

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
steps:
3030
- name: Checkout repo
3131
uses: actions/checkout@v3
32-
with:
33-
fetch-depth: 0
3432

3533
- name: Install Node.js v16
3634
uses: actions/setup-node@v3
@@ -81,25 +79,25 @@ jobs:
8179
- name: Checkout repo
8280
uses: actions/checkout@v3
8381
with:
84-
fetch-depth: 0
82+
submodules: true
8583

86-
- name: Get submodule hash
87-
id: submodule-hash
88-
run: |
89-
echo "::set-output name=key::$(git ls-tree HEAD lib/vscode --object-only)"
84+
# - name: Get submodule hash
85+
# id: submodule-hash
86+
# run: |
87+
# echo "::set-output name=key::$(git ls-tree HEAD lib/vscode --object-only)"
9088

91-
- name: Fetch submodule from cache
92-
id: cache-submodule
93-
uses: actions/cache@v3
94-
with:
95-
path: "lib/vscode/**"
96-
key: submodule-hash-${{ steps.submodule-hash.outputs.key }}-1
97-
restore-keys: |
98-
submodule-hash-
89+
# - name: Fetch submodule from cache
90+
# id: cache-submodule
91+
# uses: actions/cache@v3
92+
# with:
93+
# path: "lib/vscode/**"
94+
# key: submodule-hash-${{ steps.submodule-hash.outputs.key }}-1
95+
# restore-keys: |
96+
# submodule-hash-
9997

100-
- name: Checkout submodule
101-
if: steps.cache-submodule.outputs.cache-hit != 'true'
102-
run: git submodule update --init
98+
# - name: Checkout submodule
99+
# if: steps.cache-submodule.outputs.cache-hit != 'true'
100+
# run: git submodule update --init
103101

104102
- name: Install quilt
105103
run: sudo apt update && sudo apt install quilt
@@ -199,8 +197,6 @@ jobs:
199197
steps:
200198
- name: Checkout repo
201199
uses: actions/checkout@v3
202-
with:
203-
fetch-depth: 0
204200

205201
- name: Download artifact
206202
uses: actions/download-artifact@v3
@@ -252,8 +248,6 @@ jobs:
252248
steps:
253249
- name: Checkout repo
254250
uses: actions/checkout@v3
255-
with:
256-
fetch-depth: 0
257251

258252
- name: Install Node.js v16
259253
uses: actions/setup-node@v3
@@ -349,8 +343,6 @@ jobs:
349343
steps:
350344
- name: Checkout repo
351345
uses: actions/checkout@v3
352-
with:
353-
fetch-depth: 0
354346

355347
- name: Install Node.js v16
356348
uses: actions/setup-node@v3
@@ -402,8 +394,6 @@ jobs:
402394
steps:
403395
- name: Checkout repo
404396
uses: actions/checkout@v3
405-
with:
406-
fetch-depth: 0
407397

408398
- name: Install Node.js v16
409399
uses: actions/setup-node@v3
@@ -455,8 +445,6 @@ jobs:
455445
steps:
456446
- name: Checkout repo
457447
uses: actions/checkout@v3
458-
with:
459-
fetch-depth: 0
460448

461449
- name: Install Node.js v16
462450
uses: actions/setup-node@v3
@@ -521,8 +509,6 @@ jobs:
521509
steps:
522510
- name: Checkout repo
523511
uses: actions/checkout@v3
524-
with:
525-
fetch-depth: 0
526512

527513
- name: Install Node.js v16
528514
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)