File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,12 +33,11 @@ jobs:
3333 run : ./gradlew build
3434
3535 - name : Upload to maven
36- if : github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main'
36+ if : github.event_name == 'workflow_dispatch'
3737 env :
3838 CI : true
3939 VERSION : ${{ github.event.inputs.version || '1.0-SNAPSHOT' }}
4040 GITHUB_TOKEN : ${{ secrets.PACKAGE_SECRET }}
41- JITPACK_TOKEN : ${{ secrets.JITPACK_TOKEN }}
4241 GITHUB_USERNAME : ${{ github.repository_owner }}
4342 GITHUB_REPOSITORY : ${{ github.repository }}
4443 run :
Original file line number Diff line number Diff line change @@ -77,18 +77,6 @@ publishing {
7777 url = " https://maven.pkg.github.com/${ owner} /${ repository} "
7878 }
7979
80- maven {
81-
82- name = " JitPack"
83- url = " https://jitpack.io"
84-
85- credentials {
86- username = ' jitpack'
87- password = System . getenv(' JITPACK_TOKEN' )
88- }
89-
90- }
91-
9280 }
9381
9482 }
You can’t perform that action at this time.
0 commit comments