Skip to content

Commit

Permalink
fix(github-actions/release): Fix Git submodules not included in relea…
Browse files Browse the repository at this point in the history
…se archives

Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
brlin-tw committed Oct 27, 2024
1 parent 649f1b7 commit 11a9ac1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -29,6 +29,10 @@ jobs:
# WORKAROUND: Adding this option triggers actions/checkout#1467
#fetch-tags: true

# Also recursively fetch submodules
# WORKAROUND: Adding this option triggers actions/checkout#1959
#submodules: true

- name: >-
WORKAROUND: Fetch tags that points to the revisions
checked-out(actions/checkout#1467)
@@ -40,6 +44,13 @@ jobs:
--depth=100 \
--no-recurse-submodules
- name: >-
WORKAROUND: Checkout submodules recursively(actions/checkout#1959)
run: |-
git submodule update \
--init \
--recursive
- name: Determine the project identifier
run: printf "project_id=${GITHUB_REPOSITORY##*/}\\n" >> $GITHUB_ENV

0 comments on commit 11a9ac1

Please sign in to comment.