Skip to content

Commit

Permalink
Fix docs generation (awspring#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejwalkowiak authored Jul 23, 2022
1 parent 5efc696 commit 1adc1fb
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/upload-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,36 @@ on:
- 2.4.x
- 2.3.x
- 2.2.x

env:
# https://github.com/actions/checkout/issues/440#issuecomment-854240996
AWS_EC2_METADATA_DISABLED: true

jobs:
build:
runs-on: ubuntu-18.04
runs-on: macos-12

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: sdkman/sdkman-action@master
id: sdkman
with:
candidate: java
version: '8.0.332-tem'
- name: Set up 8.0.332-tem
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 8
jdkFile: ${{ steps.sdkman.outputs.file }}
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build docs
run: ./mvnw clean package javadoc:aggregate -Pdocs,spring -DskipTests=true
run: ./mvnw clean package javadoc:aggregate -Pdocs,spring -DskipTests=true -e
- name: Upload to S3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.S3_AWS_ACCESS_KEY }}
Expand Down

0 comments on commit 1adc1fb

Please sign in to comment.