Skip to content

Commit ab39c6a

Browse files
chore: Fix publish workflow for older OS images (vectordotdev#17787)
Resolves git submodule issue on older OS images. Based on actions/checkout#758 (comment)
1 parent 48ec2e8 commit ab39c6a

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)