Skip to content

Commit

Permalink
chore: Fix publish workflow for older OS images (vectordotdev#17787)
Browse files Browse the repository at this point in the history
Resolves git submodule issue on older OS images.

Based on
actions/checkout#758 (comment)
  • Loading branch information
spencergilbert authored Jun 28, 2023
1 parent 48ec2e8 commit ab39c6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,11 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ inputs.git_ref }}
submodules: "recursive"
# Workaround for older OS images
# https://github.com/actions/checkout/issues/758
- name: Checkout submodules
run: |
git submodule update --init --recursive
- name: Download staged package artifacts (x86_64-unknown-linux-gnu)
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit ab39c6a

Please sign in to comment.