File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 37
37
- name : Setup Gradle
38
38
uses : gradle/actions/setup-gradle@v4
39
39
- name : Build and Test with Gradle
40
- run : ./gradlew build
40
+ run : ./gradlew -Dprofile=release build
41
41
- name : Upload (test) reports as artifact on GitHub on manual runs
42
42
if : github.event_name == 'workflow_dispatch'
43
43
uses : actions/upload-artifact@v4
46
46
path : build/reports
47
47
- name : Do one Coveralls test report
48
48
if : matrix.os == 'ubuntu-latest' && matrix.jdk == 21
49
- run : ./gradlew jacocoTestReport coveralls
49
+ run : ./gradlew -Dprofile=release jacocoTestReport coveralls
Original file line number Diff line number Diff line change 15
15
java-version : 21
16
16
distribution : ' zulu' # openjdk
17
17
- name : Publish package
18
- run : gradle -PreleaseBuildConfig publishToSonatype closeAndReleaseSonatypeStagingRepository
18
+ run : gradle -Dprofile=release publishToSonatype closeAndReleaseSonatypeStagingRepository
19
19
env :
20
20
ORG_GRADLE_PROJECT_sonatypeUsername : ${{ secrets.OSSRH_USERNAME }}
21
21
ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.OSSRH_PASSWORD }}
You can’t perform that action at this time.
0 commit comments