Fix nightly workflow

This commit is contained in:
Adrien Piquerez 2024-10-09 13:43:02 +02:00
parent adb5eca6c9
commit ef17173fcf
2 changed files with 2 additions and 8 deletions

View File

@ -28,12 +28,6 @@ jobs:
repository: sbt/io
ref: develop
path: io
- name: Checkout sbt/librarymanagement
uses: actions/checkout@v4
with:
repository: sbt/librarymanagement
ref: develop
path: librarymanagement
- name: Checkout sbt/zinc
uses: actions/checkout@v4
with:
@ -55,7 +49,7 @@ jobs:
cd io
sbt -v +publish
cd ../
sbt -Dsbtlm.path=$HOME/work/sbt/sbt/librarymanagement -Dsbtzinc.path=$HOME/work/sbt/sbt/zinc -Dsbt.build.fatal=false "+lowerUtils/publish; {librarymanagement}/publish; {zinc}/publish; upperModules/publish; bundledLauncherProj/publish"
sbt -Dsbtzinc.path=$HOME/work/sbt/sbt/zinc -Dsbt.build.fatal=false "+lowerUtils/publish; {zinc}/publish; upperModules/publish; bundledLauncherProj/publish"
rm -rf "$HOME/.ivy2/local" || true
rm -r $(find $HOME/.sbt/boot -name "*-SNAPSHOT") || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true

View File

@ -45,7 +45,7 @@ When working on a change that requires changing one or more sub modules, the sou
```
$ mkdir sbt-modules
$ cd sbt-modules
$ for i in sbt io librarymanagement zinc; do \
$ for i in sbt io zinc; do \
git clone https://github.com/sbt/$i.git && (cd $i; git checkout -b develop origin/develop)
done
$ cd sbt