Skip to content

Commit 5cde620

Browse files
committed
Merge branch 'createMoreArtifactsOnGithub'
2 parents 46a3858 + 5d21aaa commit 5cde620

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-fitnesse.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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' }}

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ task javadocJar(type: Jar) {
233233
task sourcesJar(type: Jar) {
234234
mustRunAfter check
235235
archiveClassifier = 'sources'
236+
duplicatesStrategy = 'include'
236237
from sourceSets.main.allSource
237238
}
238239

0 commit comments

Comments
 (0)