File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 44 inputs :
55 scala-version :
66 required : true
7- tag :
8- description : ' Example v3.0.6'
9- default : main
10- required : true
117
128jobs :
139 test :
1410 strategy :
1511 fail-fast : false
1612 name : Test with Scala ${{ inputs.scala-version }} on ${{ inputs.tag }}
1713 runs-on : ubuntu-latest
14+ env :
15+ SCALA_VERSION : ${{ inputs.scala-version }}
1816 steps :
1917 - uses : actions/checkout@v3
2018 with :
2119 submodules : true
22- ref : ${{ inputs.tag }}
2320 -
uses :
coursier/[email protected] 2421 with :
2522 jvm : ' temurin:1.17.0.3'
2825 run : sbt test
2926 shell : bash
3027 publish :
31- if : startsWith(inputs.tag , 'v')
28+ if : startsWith(github.ref , 'refs/tags/ v')
3229 runs-on : ubuntu-latest
3330 env :
3431 SCALA_VERSION : ${{ inputs.scala-version }}
4037 - uses : actions/checkout@v3
4138 with :
4239 submodules : true
43- ref : ${{ inputs.tag }}
4440 -
uses :
coursier/[email protected] 4541 with :
4642 app : sbt
You can’t perform that action at this time.
0 commit comments