File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ jobs:
1515 distribution : ' zulu'
1616 java-version : ' 8'
1717 - name : Validate Gradle wrapper
18- uses : gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
18+ uses : gradle/wrapper-validation-action@v1
1919 - name : Build with Gradle
20- uses : gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7
20+ uses : gradle/gradle-build-action@v2
2121 with :
22- arguments : build
22+ arguments : build slimJar sourcesJar javadocJar
2323 # Only write to the cache for builds on the 'master' branch.
2424 # Builds on other branches will only read existing entries from the cache.
2525 cache-read-only : ${{ github.ref != 'refs/heads/master' }}
Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ task javadocJar(type: Jar) {
233233task sourcesJar (type : Jar ) {
234234 mustRunAfter check
235235 archiveClassifier = ' sources'
236+ duplicatesStrategy = ' include'
236237 from sourceSets. main. allSource
237238}
238239
You can’t perform that action at this time.
0 commit comments