Skip to content

Commit 3397a75

Browse files
[CI]: Publish LTS nightlies form scala/scala3-lts repository (#22500)
LTS backports are done to https://github.com/scala/scala3-lts initially. When making a LTS release cutoff (RC1) we synchronize main repos (scala/scala3) branch (lts-3.3) are before creaing a release branch from it. After the release LTS repository is synchronized with the main repos latest release branch. The change allows to perform Scala 3 LTS nightly releses without need for excessive synchronization of the 2 repos
2 parents 6bf8eae + 691fda6 commit 3397a75

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,10 @@ jobs:
630630
- ${{ github.workspace }}/../../cache/general:/root/.cache
631631
strategy:
632632
matrix:
633-
branch: [main, lts-3.3]
633+
series: [
634+
{repository: scala/scala3, branch: main}, # Scala Next nightly
635+
{repository: scala/scala3-lts, branch: lts-3.3} # Scala LTS nightly
636+
]
634637
needs: [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
635638
if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'scala/scala3'"
636639
env:
@@ -660,7 +663,8 @@ jobs:
660663
- name: Git Checkout
661664
uses: actions/checkout@v4
662665
with:
663-
ref: ${{ matrix.branch }}
666+
repository: ${{ matrix.series.repository }}
667+
ref: ${{ matrix.series.branch }}
664668

665669
- name: Add SBT proxy repositories
666670
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true

0 commit comments

Comments
 (0)