Skip to content

Commit 18f9ca9

Browse files
authored
Merge pull request #1268 from bitwiseman/activate-site
Revert "Remove Site CI check"
2 parents cbd89d7 + 4c60ee5 commit 18f9ca9

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/maven-build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,28 @@ jobs:
3232
env:
3333
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
3434
run: mvn -B clean install -DskipTests --file pom.xml
35+
site:
36+
name: site (Java ${{ matrix.java }})
37+
runs-on: ubuntu-latest
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
java: [ 8, 11 ]
42+
steps:
43+
- uses: actions/checkout@v2
44+
- name: Set up JDK
45+
uses: actions/setup-java@v2
46+
with:
47+
java-version: ${{ matrix.java }}
48+
distribution: 'adopt'
49+
- uses: actions/[email protected]
50+
with:
51+
path: ~/.m2/repository
52+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
53+
restore-keys: |
54+
${{ runner.os }}-maven-
55+
- name: Maven Site
56+
run: mvn -B clean site -D enable-ci --file pom.xml
3557
test:
3658
name: test (${{ matrix.os }}, Java ${{ matrix.java }})
3759
runs-on: ${{ matrix.os }}-latest

src/main/java/org/kohsuke/github/GHRepository.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3220,6 +3220,8 @@ public <T> T readTar(InputStreamFunction<T> streamFunction, String ref) throws I
32203220
* the eventType
32213221
* @param clientPayload
32223222
* a custom payload , can be nullable
3223+
* @param <T>
3224+
* type of client payload
32233225
* @throws IOException
32243226
* the io exception
32253227
*/

0 commit comments

Comments
 (0)