Skip to content

Commit

Permalink
Merge pull request #1268 from bitwiseman/activate-site
Browse files Browse the repository at this point in the history
Revert "Remove Site CI check"
  • Loading branch information
bitwiseman authored Oct 21, 2021
2 parents cbd89d7 + 4c60ee5 commit 18f9ca9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,28 @@ jobs:
env:
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
run: mvn -B clean install -DskipTests --file pom.xml
site:
name: site (Java ${{ matrix.java }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 8, 11 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
- uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Maven Site
run: mvn -B clean site -D enable-ci --file pom.xml
test:
name: test (${{ matrix.os }}, Java ${{ matrix.java }})
runs-on: ${{ matrix.os }}-latest
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/kohsuke/github/GHRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -3220,6 +3220,8 @@ public <T> T readTar(InputStreamFunction<T> streamFunction, String ref) throws I
* the eventType
* @param clientPayload
* a custom payload , can be nullable
* @param <T>
* type of client payload
* @throws IOException
* the io exception
*/
Expand Down

0 comments on commit 18f9ca9

Please sign in to comment.