File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- version : " 3.9 "
1+ version : " 3.7 "
22
33services :
44 test :
Original file line number Diff line number Diff line change 1919
2020 env :
2121 SCALA_VERSION : ${{ matrix.scala }}
22+ BUILD_NUMBER : ${{ github.run_id }}
2223
2324 steps :
2425 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
1717 if [[ " ${1:- } " == " --help" ]]; then
1818 usage
1919 else
20- if [[ -n " ${CIRCLE_TAG } " ]]; then
20+ if [[ -n " ${BUILD_NUMBER } " ]]; then
2121 echo " Publishing artifacts to Sonatype"
22- ./sbt " ;++${SCALA_VERSION:- 2.11.12 } ;sonatypeOpen ${CIRCLE_BUILD_NUM } ;publish;sonatypeRelease"
22+ ./sbt " ;++${SCALA_VERSION:- 2.12.7 } ;sonatypeOpen ${BUILD_NUMBER } ;publish;sonatypeRelease"
2323 else
2424 echo " Publishing artifacts to default location"
25- ./sbt " ++${SCALA_VERSION:- 2.11.12 } " publish
25+ ./sbt " ++${SCALA_VERSION:- 2.12.7 } " publish
2626 fi
2727 fi
2828fi
You can’t perform that action at this time.
0 commit comments