File tree Expand file tree Collapse file tree 2 files changed +13
-16
lines changed Expand file tree Collapse file tree 2 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 11name : Publish package to the Maven Central Repository
22on :
3- # release:
4- # types: [created]
5- push :
6- branches : [ "master" ]
7- pull_request :
8- branches : [ "master" ]
3+ release :
4+ types : [created]
5+
96jobs :
107 publish :
118 runs-on : ubuntu-latest
@@ -35,12 +32,12 @@ jobs:
3532 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3633 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
3734 MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_IV }}
38- # - name: Set up Java for publishing to GitHub Packages
39- # uses: actions/setup-java@v3
40- # with:
41- # java-version: 8
42- # distribution: 'adopt'
43- # - name: Publish to GitHub Packages
44- # run: mvn --batch-mode deploy -P github
45- # env:
46- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+ - name : Set up Java for publishing to GitHub Packages
36+ uses : actions/setup-java@v3
37+ with :
38+ java-version : 8
39+ distribution : ' adopt'
40+ - name : Publish to GitHub Packages
41+ run : mvn --batch-mode deploy -P github
42+ env :
43+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 66
77 <groupId >io.github.CodeTrainerMan</groupId >
88 <artifactId >web3utils</artifactId >
9- <version >1.0.14 </version >
9+ <version >1.0.1 </version >
1010 <name >web3utils</name >
1111 <description >java web3 tools</description >
1212 <url >https://github.com/CodeTrainerMan/Web3Utils</url >
You can’t perform that action at this time.
0 commit comments