Skip to content

Commit

Permalink
Update build for Mill 0.11.x
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Sep 13, 2023
1 parent 35c2e82 commit 00168ad
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 225 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
echo "-Xmx2g" > .mill-jvm-opts
cat .mill-jvm-opts.bak | grep -v Xmx >> .mill-jvm-opts
# sometimes running into memory issues when attempting __.publishLocal upfront
for SV in $(./mill scalaVersions); do
for SV in $(./mill dev.scalaVersions); do
./mill -i '__['"$SV"'].compile'
./mill -i '__['"$SV"'].docJar'
./mill -i '__['"$SV"'].publishLocal'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
mv .mill-jvm-opts .mill-jvm-opts.bak
cat .mill-jvm-opts.bak | grep -v Xmx > .mill-jvm-opts
# sometimes running into memory issues when attempting __.publishLocal or __.publishArtifacts upfront
for SV in $(./mill scalaVersions); do
for SV in $(./mill dev.scalaVersions); do
./mill -i '__['"$SV"'].compile'
./mill -i '__['"$SV"'].docJar'
./mill -i '__['"$SV"'].publishLocal'
done
./mill -i __.publishLocal
./mill -i publishSonatype __.publishArtifacts
./mill -i ci.publishSonatype __.publishArtifacts
shell: bash
env:
PGP_PASSWORD: ${{ secrets.PUBLISH_SECRET_KEY_PASSWORD }}
Expand Down
Loading

0 comments on commit 00168ad

Please sign in to comment.