|
29 | 29 | steps: |
30 | 30 | - name: Checkout repo |
31 | 31 | uses: actions/checkout@v3 |
32 | | - with: |
33 | | - fetch-depth: 0 |
34 | 32 |
|
35 | 33 | - name: Install Node.js v16 |
36 | 34 | uses: actions/setup-node@v3 |
@@ -81,25 +79,25 @@ jobs: |
81 | 79 | - name: Checkout repo |
82 | 80 | uses: actions/checkout@v3 |
83 | 81 | with: |
84 | | - fetch-depth: 0 |
| 82 | + submodules: true |
85 | 83 |
|
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)" |
90 | 88 |
|
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- |
99 | 97 |
|
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 |
103 | 101 |
|
104 | 102 | - name: Install quilt |
105 | 103 | run: sudo apt update && sudo apt install quilt |
@@ -199,8 +197,6 @@ jobs: |
199 | 197 | steps: |
200 | 198 | - name: Checkout repo |
201 | 199 | uses: actions/checkout@v3 |
202 | | - with: |
203 | | - fetch-depth: 0 |
204 | 200 |
|
205 | 201 | - name: Download artifact |
206 | 202 | uses: actions/download-artifact@v3 |
@@ -252,8 +248,6 @@ jobs: |
252 | 248 | steps: |
253 | 249 | - name: Checkout repo |
254 | 250 | uses: actions/checkout@v3 |
255 | | - with: |
256 | | - fetch-depth: 0 |
257 | 251 |
|
258 | 252 | - name: Install Node.js v16 |
259 | 253 | uses: actions/setup-node@v3 |
@@ -349,8 +343,6 @@ jobs: |
349 | 343 | steps: |
350 | 344 | - name: Checkout repo |
351 | 345 | uses: actions/checkout@v3 |
352 | | - with: |
353 | | - fetch-depth: 0 |
354 | 346 |
|
355 | 347 | - name: Install Node.js v16 |
356 | 348 | uses: actions/setup-node@v3 |
@@ -402,8 +394,6 @@ jobs: |
402 | 394 | steps: |
403 | 395 | - name: Checkout repo |
404 | 396 | uses: actions/checkout@v3 |
405 | | - with: |
406 | | - fetch-depth: 0 |
407 | 397 |
|
408 | 398 | - name: Install Node.js v16 |
409 | 399 | uses: actions/setup-node@v3 |
@@ -455,8 +445,6 @@ jobs: |
455 | 445 | steps: |
456 | 446 | - name: Checkout repo |
457 | 447 | uses: actions/checkout@v3 |
458 | | - with: |
459 | | - fetch-depth: 0 |
460 | 448 |
|
461 | 449 | - name: Install Node.js v16 |
462 | 450 | uses: actions/setup-node@v3 |
@@ -521,8 +509,6 @@ jobs: |
521 | 509 | steps: |
522 | 510 | - name: Checkout repo |
523 | 511 | uses: actions/checkout@v3 |
524 | | - with: |
525 | | - fetch-depth: 0 |
526 | 512 |
|
527 | 513 | - name: Install Node.js v16 |
528 | 514 | uses: actions/setup-node@v3 |
|
0 commit comments