Skip to content

Commit

Permalink
chore: skip javadoc in buildcache.yml for Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Jan 15, 2023
1 parent 2d48f4f commit 59cbcb3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/buildcache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,15 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
- name: Skip javadoc with Java 11
if: ${{ matrix.jdk == '11' }}
run: |
echo "skipJavadoc=-PskipJavadoc" >> $GITHUB_ENV
- uses: burrunan/gradle-cache-action@v1
name: Build pgjdbc
env:
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }}
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
with:
job-id: jdk${{ matrix.jdk }}
arguments: build -x test --scan -i
arguments: build -x test --scan -i ${{ env.skipJavadoc }}

0 comments on commit 59cbcb3

Please sign in to comment.