Skip to content

Commit 3c24834

Browse files
authored
Temporary workaround for "subtree" checkout errors on Windows (#383)
This switches Windows workers, which are not yet ephemeral to use a patched version of checkouts. This guarantees always cleaning up repo state even in case of previous bad submodules-like repo operations done by a previous run. In the long run, we should be using ephemeral workers, and switch to upstream fixed version if the PR gets merged upstream. Upstream PR: actions/checkout#1321 b/282361986 b/258687270
1 parent 0ded38c commit 3c24834

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main_win.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
)
6060
steps:
6161
- id: Checkout
62-
uses: actions/checkout@v3
62+
uses: kaidokert/checkout@v3.5.999 # Temporary version
6363
with:
6464
fetch-depth: 1
6565
persist-credentials: false
@@ -104,7 +104,7 @@ jobs:
104104
runs-on: windows-2019
105105
steps:
106106
- name: Checkout files
107-
uses: actions/checkout@v3
107+
uses: kaidokert/checkout@v3.5.999
108108
with:
109109
fetch-depth: 2
110110
persist-credentials: false
@@ -138,7 +138,7 @@ jobs:
138138
config: [devel, debug, qa, gold]
139139
steps:
140140
- name: Checkout
141-
uses: actions/checkout@v3
141+
uses: kaidokert/checkout@v3.5.999
142142
with:
143143
# Use fetch depth of 0 to get full history for a valid build id.
144144
fetch-depth: 0
@@ -173,7 +173,7 @@ jobs:
173173
include: ${{ fromJson(needs.initialize.outputs.includes) }}
174174
steps:
175175
- name: Checkout
176-
uses: actions/checkout@v3
176+
uses: kaidokert/checkout@v3.5.999
177177
with:
178178
fetch-depth: 1
179179
persist-credentials: false

0 commit comments

Comments
 (0)