@@ -585,45 +585,6 @@ jobs:
585
585
external_repository : lampepfl/dotty-website
586
586
publish_branch : gh-pages
587
587
588
- nightly_unmanaged_community_build :
589
- # Self-hosted runner is used only for getting current build version
590
- runs-on : [self-hosted, Linux]
591
- container :
592
- image : lampepfl/dotty:2021-03-22
593
- options : --cpu-shares 4096
594
- volumes :
595
- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
596
- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
597
- - ${{ github.workspace }}/../../cache/general:/root/.cache
598
- needs : [publish_nightly]
599
- if : " (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty'"
600
- env :
601
- NIGHTLYBUILD : yes
602
- steps :
603
- - name : Reset existing repo
604
- run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
605
-
606
- - name : Checkout cleanup script
607
- uses : actions/checkout@v3
608
-
609
- - name : Cleanup
610
- run : .github/workflows/cleanup.sh
611
-
612
- - name : Git Checkout
613
- uses : actions/checkout@v3
614
-
615
- - name : Add SBT proxy repositories
616
- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
617
-
618
- - name : Get version string for this build
619
- run : |
620
- ver=$(./project/scripts/sbt "print scala3-compiler-bootstrapped/version" | tail -n1)
621
- echo "This build version: $ver"
622
- echo "THISBUILD_VERSION=$ver" >> $GITHUB_ENV
623
- # Steps above are copy-pasted from publish_nightly, needed only to resolve THISBUILD_VERSION
624
- - name : Trigger unmanaged community build
625
- run : .github/workflows/scripts/triggerUnmanagedCommunityBuild.sh "${{ secrets.BUILD_TOKEN }}" "$THISBUILD_VERSION"
626
-
627
588
publish_release :
628
589
permissions :
629
590
contents : write # for actions/create-release to create a release
0 commit comments