File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ jobs:
3131 distribution : ' temurin'
3232 java-version : ' 21'
3333
34+ - name : Setup Gradle
35+ uses : gradle/actions/setup-gradle@v4
36+
3437 - name : Publish with Gradle
35- uses : gradle/gradle-build-action@v3
36- with :
37- arguments : publish
38+ run : ./gradlew publish
3839
3940 - name : Confirm publishing
4041 run : curl -X POST -u "${{ secrets.MAVEN_USERNAME }}:${{ secrets.MAVEN_PASSWORD }}" "https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.github.nsk90"
Original file line number Diff line number Diff line change @@ -24,10 +24,11 @@ jobs:
2424 distribution : ' temurin'
2525 java-version : ' 21'
2626
27+ - name : Setup Gradle
28+ uses : gradle/actions/setup-gradle@v4
29+
2730 - name : Build with Gradle
28- uses : gradle/gradle-build-action@v3
29- with :
30- arguments : build
31+ run : ./gradlew build
3132
3233 - name : Codecov
3334 uses : codecov/codecov-action@v4
You can’t perform that action at this time.
0 commit comments