File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Sonatype Zinc release
22on :
33 workflow_dispatch :
44 inputs :
5- sbt_ver :
5+ zinc_ver :
66 description : the version of sbt to release
77 required : true
88 default : 2.0.x
@@ -18,15 +18,15 @@ jobs:
1818 runs-on : ${{ matrix.os }}
1919 env :
2020 JAVA_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M
21- SBT_VER : ${{ github.event.inputs.sbt_ver }}
21+ ZINC_VER : ${{ github.event.inputs.zinc_ver }}
2222 steps :
2323 - name : Checkout sbt/sbt-dist
2424 uses : actions/checkout@v7
2525 - name : Checkout sbt/sbt
2626 uses : actions/checkout@v7
2727 with :
2828 repository : sbt/zinc
29- ref : " 2.0.x "
29+ ref : v${{ github.event.inputs.zinc_ver }}
3030 path : zinc
3131 - name : Setup JDK
3232 uses : actions/setup-java@v5
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Sonatype Zinc 1.x release
22on :
33 workflow_dispatch :
44 inputs :
5- sbt_ver :
5+ zinc_ver :
66 description : the version of sbt to release
77 required : true
88 default : 1.12.x
@@ -18,15 +18,15 @@ jobs:
1818 runs-on : ${{ matrix.os }}
1919 env :
2020 JAVA_OPTS : -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M
21- SBT_VER : ${{ github.event.inputs.sbt_ver }}
21+ ZINC_VER : ${{ github.event.inputs.zinc_ver }}
2222 steps :
2323 - name : Checkout sbt/sbt-dist
2424 uses : actions/checkout@v7
2525 - name : Checkout sbt/sbt
2626 uses : actions/checkout@v7
2727 with :
2828 repository : sbt/zinc
29- ref : " 1.12.x "
29+ ref : v${{ github.event.inputs.zinc_ver }}
3030 path : zinc
3131 - name : Setup JDK
3232 uses : actions/setup-java@v5
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ releaseSonatypeZinc() {
8686 installGpgkey
8787
8888 echo " credentials += Credentials(Path.userHome / \" .sbt\" / \" credentials\" )" > local.sbt
89- echo " ThisBuild / version := \" $SBT_VER \" " >> local.sbt
89+ echo " ThisBuild / version := \" $ZINC_VER \" " >> local.sbt
9090
9191 mkdir -p $HOME /.sbt/
9292 echo " host = central.sonatype.com" > $HOME /.sbt/credentials
You can’t perform that action at this time.
0 commit comments