File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 cache : ' maven'
4949 - name : version
5050 run : |
51- export JCODINGS_VERSION=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout`
52- echo "version=$JCODINGS_VERSION" >> $GITHUB_OUTPUT
51+ echo version=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout` >> $GITHUB_OUTPUT
5352
5453 snapshot :
5554
@@ -69,10 +68,10 @@ jobs:
6968 server-username : MAVEN_USERNAME
7069 server-password : MAVEN_PASSWORD
7170
72- - run : echo $JCODINGS_VERSION
71+ - run : echo ${{ needs.version.outputs.version }}
7372 - name : Publish package
7473 run : mvn -ntp deploy
7574 env :
7675 MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
7776 MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
78- if : ${{ contains(env.JCODINGS_VERSION , 'SNAPSHOT') && github.ref == 'refs/heads/master' && github.repository == 'jruby/jcodings' }}
77+ if : ${{ contains(needs.version.outputs.version , 'SNAPSHOT') && github.ref == 'refs/heads/master' && github.repository == 'jruby/jcodings' }}
You can’t perform that action at this time.
0 commit comments