File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 5959
6060 publish-sonatype :
6161 if : github.repository == 'com-lihaoyi/cask' && contains(github.ref, 'refs/tags/')
62- needs : test
6362 runs-on : ubuntu-latest
6463 env :
6564 MILL_SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
7675 with :
7776 distribution : ' temurin'
7877 java-version : 11
78+
7979 - name : Publish to Maven Central
80- run : ./mill -i mill.scalalib.PublishModule/
81-
80+ run : ./mill -i mill.scalalib.SonatypeCentralPublishModule/
81+
82+ - name : Create GitHub Release
83+ id : create_gh_release
84+ 85+ env :
86+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
87+ with :
88+ tag_name : ${{ github.ref }}
89+ release_name : ${{ github.ref }}
90+ draft : false
91+
8292 uploadExamples :
8393 if : github.repository == 'com-lihaoyi/cask' && contains(github.ref, 'refs/tags/')
8494 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments