File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 7272 needs : [build, lint, security]
7373 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
7474 runs-on : ubuntu-latest
75+ permissions :
76+ contents : read
77+ packages : write
7578 steps :
7679 - uses : actions/checkout@v3
7780
8285 distribution : ' temurin'
8386 cache : gradle
8487
85- - name : Publish to Maven Central
88+ - name : Publish to GitHub Packages
8689 run : ./gradlew publish
8790 env :
88- OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
89- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
90- SIGNING_KEY_ID : ${{ secrets.SIGNING_KEY_ID }}
91- SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
92- SIGNING_SECRET_KEY_RING_FILE : ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}
91+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments