File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 2525
2626 - uses : gradle/wrapper-validation-action@v1
2727 - name : Deploy to Maven Central
28- run : ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --no-daemon --stacktrace
28+ run : ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository createBundle --no-daemon --stacktrace
2929 env :
3030 RELEASE_BUILD : true
3131 GPG_SIGNING_KEY : ${{ secrets.GPG_SIGNING_KEY }}
3939 run : |
4040 rm -f ~/.gradle/caches/modules-2/modules-2.lock
4141 rm -fr ~/.gradle/caches/*/plugin-resolution/
42+
43+ - name : Get tag name
44+ id : get_tag
45+ shell : bash
46+ run : |
47+ tag_name="$(echo $GITHUB_REF | cut -d / -f 3)"
48+ echo ::set-output name=tag::$tag_name
49+ - name : Create GitHub Release
50+ uses : softprops/action-gh-release@v1
51+ env :
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ with :
54+ tag_name : ${{ steps.get_tag.outputs.tag }}
55+ name : ${{ steps.get_tag.outputs.tag }}
56+ prerelease : false
57+ draft : false
58+ files : |
59+ core/build/libs/bundle-*.jar
60+ httpclient/build/libs/bundle-*.jar
61+ samples/build/libs/bundle-*.jar
You can’t perform that action at this time.
0 commit comments