We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2119c commit acde039Copy full SHA for acde039
1 file changed
.github/workflows/ci.yml
@@ -50,10 +50,10 @@ jobs:
50
- run: echo ${{ needs.version.outputs.version }}
51
- name: version
52
run: |
53
- export JCODINGS_VERSION=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout`
+ echo version=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout` >> $GITHUB_OUTPUT
54
- name: Publish package
55
run: mvn -ntp deploy
56
env:
57
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
58
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
59
- if: ${{ contains(env.JCODINGS_VERSION, 'SNAPSHOT') && github.ref == 'refs/heads/master' && github.repository == 'jruby/jcodings' }}
+ if: ${{ contains(steps.version.outputs.version, 'SNAPSHOT') && github.ref == 'refs/heads/master' && github.repository == 'jruby/jcodings' }}
0 commit comments