Skip to content

Commit 41c11cd

Browse files
committed
Fetch tags of submodules
Some projects rely on tag to determine the published version number, so this is needed for the community build to work properly.
1 parent 6e52dce commit 41c11cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ jobs:
170170
run: |
171171
git submodule sync
172172
git submodule update --init --recursive --jobs 7
173+
git submodule foreach --recursive 'git fetch -f --tags'
173174
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestA"
174175
175176
community_build_b:
@@ -205,6 +206,7 @@ jobs:
205206
run: |
206207
git submodule sync
207208
git submodule update --init --recursive --jobs 7
209+
git submodule foreach --recursive 'git fetch -f --tags'
208210
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestB"
209211
210212
test_sbt:

0 commit comments

Comments
 (0)