File tree Expand file tree Collapse file tree
.github/actions/maven-publish Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,14 +31,16 @@ runs:
3131
3232 - uses : gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # pin@1.1.0
3333
34- - run : ./gradlew clean assemble -PisSnapshot=false
35-
36- - run : ./gradlew exportVersion -PisSnapshot=false
34+ - name : Build Project
35+ shell : bash
36+ run : ./gradlew clean assemble -PisSnapshot=false
3737
3838 - name : Publish Java
39+ shell : bash
3940 if : inputs.is-android == 'false'
4041 run : ./gradlew publishMavenJavaPublicationToMavenRepository -PossrhUsername="${{ inputs.ossr-username }}" -PossrhPassword="${{ inputs.ossr-password }}" -PsigningKey="${{ inputs.signing-key }}" -PsigningPassword="${{ inputs.signing-password }}" -PisSnapshot="false"
4142
4243 - name : Publish Android
44+ shell : bash
4345 if : inputs.is-android == 'true'
4446 run : ./gradlew publishAndroidLibraryPublicationToMavenRepository -PossrhUsername="${{ inputs.ossr-username }}" -PossrhPassword="${{ inputs.ossr-password }}" -PsigningKey="${{ inputs.signing-key }}" -PsigningPassword="${{ inputs.signing-password }}" -PisSnapshot="false"
Original file line number Diff line number Diff line change @@ -97,11 +97,3 @@ dependencies {
9797 }
9898 }
9999}
100-
101- // Creates a version.txt file containing the current version of the SDK.
102- // This file is picked up and parsed by our Ship Orb to determine the version.
103- task exportVersion () {
104- doLast {
105- new File (rootDir, " version.txt" ). text = " $version "
106- }
107- }
You can’t perform that action at this time.
0 commit comments