Skip to content

Commit

Permalink
Merge branch 'createMoreArtifactsOnGithub'
Browse files Browse the repository at this point in the history
  • Loading branch information
fhoeben committed Aug 15, 2022
2 parents 46a3858 + 5d21aaa commit 5cde620
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-fitnesse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
distribution: 'zulu'
java-version: '8'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
uses: gradle/wrapper-validation-action@v1
- name: Build with Gradle
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7
uses: gradle/gradle-build-action@v2
with:
arguments: build
arguments: build slimJar sourcesJar javadocJar
# Only write to the cache for builds on the 'master' branch.
# Builds on other branches will only read existing entries from the cache.
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ task javadocJar(type: Jar) {
task sourcesJar(type: Jar) {
mustRunAfter check
archiveClassifier = 'sources'
duplicatesStrategy = 'include'
from sourceSets.main.allSource
}

Expand Down

0 comments on commit 5cde620

Please sign in to comment.