3535 - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
3636 - ${{ github.workspace }}/../../cache/general:/root/.cache
3737 if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
38- || (
39- github.event_name == 'push'
40- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
41- )
38+ || github.event_name == 'push'
4239 || (
4340 github.event_name == 'pull_request'
4441 && !contains(github.event.pull_request.body, '[skip ci]')
8279 - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
8380 - ${{ github.workspace }}/../../cache/general:/root/.cache
8481 if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
85- || (
86- github.event_name == 'push'
87- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
88- )
82+ || github.event_name == 'push'
8983 || (
9084 github.event_name == 'pull_request'
9185 && !contains(github.event.pull_request.body, '[skip ci]')
@@ -117,15 +111,14 @@ jobs:
117111
118112 - name : Cmd Tests
119113 run : |
120- ./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-dotty /scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
114+ ./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-test /scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
121115 ./project/scripts/bootstrapCmdTests
122116
123117 test_windows_fast :
124118 runs-on : [self-hosted, Windows]
125119 if : " (
126120 github.event_name == 'push'
127121 && github.ref != 'refs/heads/master'
128- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
129122 )
130123 || (
131124 github.event_name == 'pull_request'
@@ -168,10 +161,7 @@ jobs:
168161 test_windows_full :
169162 runs-on : [self-hosted, Windows]
170163 if : " github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
171- || (
172- github.event_name == 'push'
173- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
174- )
164+ || github.event_name == 'push'
175165 || (
176166 github.event_name == 'pull_request'
177167 && !contains(github.event.pull_request.body, '[skip ci]')
@@ -361,7 +351,7 @@ jobs:
361351 run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
362352
363353 - name : Test sbt
364- run : ./project/scripts/sbt "sbt-dotty /scripted; sbt-community-build/scripted"
354+ run : ./project/scripts/sbt "sbt-test /scripted; sbt-community-build/scripted"
365355
366356 test_java8 :
367357 runs-on : [self-hosted, Linux]
@@ -377,7 +367,6 @@ jobs:
377367 || (
378368 github.event_name == 'push'
379369 && startsWith(github.event.ref, 'refs/tags/')
380- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
381370 )
382371 || (
383372 github.event_name == 'pull_request'
@@ -410,7 +399,7 @@ jobs:
410399
411400 - name : Test
412401 run : |
413- ./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-dotty /scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
402+ ./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-test /scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
414403 ./project/scripts/bootstrapCmdTests
415404
416405 publish_nightly :
@@ -520,8 +509,7 @@ jobs:
520509 - ${{ github.workspace }}/../../cache/general:/root/.cache
521510 needs : [test_non_bootstrapped, test, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
522511 if : " github.event_name == 'push'
523- && startsWith(github.event.ref, 'refs/tags/')
524- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
512+ && startsWith(github.event.ref, 'refs/tags/')"
525513
526514 env :
527515 RELEASEBUILD : yes
@@ -606,8 +594,7 @@ jobs:
606594 - ${{ github.workspace }}/../../cache/general:/root/.cache
607595 needs : [publish_release]
608596 if : " github.event_name == 'push'
609- && startsWith(github.event.ref, 'refs/tags/')
610- && !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
597+ && startsWith(github.event.ref, 'refs/tags/')"
611598
612599 env :
613600 RELEASEBUILD : yes
@@ -643,46 +630,6 @@ jobs:
643630 external_repository : lampepfl/dotty-website
644631 publish_branch : gh-pages
645632
646- publish_sbt_release :
647- runs-on : [self-hosted, Linux]
648- container :
649- image : lampepfl/dotty:2021-03-22
650- options : --cpu-shares 4096
651- volumes :
652- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
653- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
654- - ${{ github.workspace }}/../../cache/general:/root/.cache
655- needs : [community_build_a, community_build_b, community_build_c, test_sbt]
656- if : " github.event_name == 'push'
657- && startsWith(github.event.ref, 'refs/tags/sbt-dotty-')"
658-
659- env :
660- RELEASEBUILD : yes
661- PGP_PW : ${{ secrets.PGP_PW }} # PGP passphrase
662- PGP_SECRET : ${{ secrets.PGP_SECRET }} # Export your private and public PGP key to an *.asc file, take the file's contents as a string
663- SONATYPE_PW : ${{ secrets.SONATYPE_PW }}
664- SONATYPE_USER : ${{ secrets.SONATYPE_USER }}
665-
666- steps :
667- - name : Reset existing repo
668- run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
669-
670- - name : Checkout cleanup script
671- uses : actions/checkout@v2
672-
673- - name : Cleanup
674- run : .github/workflows/cleanup.sh
675-
676- - name : Git Checkout
677- uses : actions/checkout@v2
678-
679- - name : Add SBT proxy repositories
680- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
681-
682- - name : Publish Dotty SBT Plugin Release
683- run : |
684- ./project/scripts/sbtPublish ";project sbt-dotty ;publishSigned ;sonatypeBundleRelease"
685-
686633 open_issue_on_failure :
687634 runs-on : [self-hosted, Linux]
688635 container :
0 commit comments