File tree Expand file tree Collapse file tree 5 files changed +33
-15
lines changed
Expand file tree Collapse file tree 5 files changed +33
-15
lines changed Original file line number Diff line number Diff line change @@ -13,31 +13,24 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout code
16- uses : actions/checkout@v2
17- - name : Setup Java version
18- uses : actions/setup-java@v4
19- with :
20- distribution : ' liberica'
21- java-version : ' 17'
16+ uses : actions/checkout@v3
2217 - name : Check code format
2318 uses : jrouly/scalafmt-native-action@v1
2419 with :
25- version : " 3.8.1 "
20+ version : " 3.8.3 "
2621 arguments : " -c .scalafmt.conf --test example urlopt4s"
2722 - uses : actions/setup-node@v4
2823 with :
29- node-version : ' 21 '
30- cache : ' npm'
24+ node-version : " 21 "
25+ cache : " npm"
3126 cache-dependency-path : urlopt4s-js/package-lock.json
3227 - name : Install dependencies
3328 run : cd urlopt4s-js && npm install webpack-cli --save-dev
3429 - name : Compile urlopt4s-js
3530 run : cd urlopt4s-js && npm exec webpack
3631 - name : Moving bundle
3732 run : mv urlopt4s-js/dist/main-bundle.mjs urlopt4s/resources/urlopt4s.mjs
38- - uses : jodersky/setup-mill@v0.3.0
39- with :
40- mill-version : 0.11.7
33+ - uses : zhutmost/setup-mill@main
4134 - name : Compile
4235 run : mill '__.compile'
4336 - name : Test
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ compile-all :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v3
16+ - uses : zhutmost/setup-mill@main
17+ - name : Publish
18+ env :
19+ MILL_SONATYPE_USERNAME : ${{ secrets.MILL_SONATYPE_USERNAME}}
20+ MILL_SONATYPE_PASSWORD : ${{ secrets.MILL_SONATYPE_PASSWORD }}
21+ MILL_PGP_PASSPHRASE : ${{ secrets.MILL_PGP_PASSPHRASE }}
22+ MILL_PGP_SECRET_BASE64 : ${{ secrets.MILL_PGP_SECRET_BASE64 }}
23+ run : |
24+ mill -i mill.scalalib.SonatypeCentralPublishModule/publishAll --shouldRelease false --publishArtifacts 'urlopt4s[_].publishArtifacts'
Original file line number Diff line number Diff line change 1- 0.12.2
1+ 0.12.14
Original file line number Diff line number Diff line change 1- version = 3.8 .1
1+ version = 3.8 .3
22
33maxColumn = 80
44
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ import mill.scalalib.publish._
55object Version {
66 val scala212 = " 2.12.18"
77 val scala213 = " 2.13.13"
8- val scalaCross = Seq (scala212, scala213)
8+ val scala336 = " 3.3.6"
9+ val scalaCross = Seq (scala212, scala213, scala336)
910
1011 val cats = " 2.10.0"
1112 val catsEffect = " 3.5.4"
You can’t perform that action at this time.
0 commit comments