Skip to content

Commit b37c07f

Browse files
chore: Fix publish workflow for older OS images
1 parent 23a3e0e commit b37c07f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,11 @@ jobs:
320320
uses: actions/checkout@v3
321321
with:
322322
ref: ${{ inputs.git_ref }}
323-
submodules: "recursive"
323+
# Workaround for older OS images
324+
# https://github.com/actions/checkout/issues/758
325+
- name: Checkout submodules
326+
run: |
327+
git submodule update --init --recursive
324328
- name: Download staged package artifacts (x86_64-unknown-linux-gnu)
325329
uses: actions/download-artifact@v3
326330
with:

0 commit comments

Comments
 (0)