Skip to content

Commit

Permalink
Use common setup action in docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi authored and wendigo committed Jun 3, 2024
1 parent 6714c07 commit fa127a9
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,8 @@ jobs:
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # use same JDK distro as in Trino docker images
java-version: 22
cache: 'maven'
- name: Configure Problem Matchers
run: |
echo "::add-matcher::.github/problem-matcher.json"
- uses: ./.github/actions/setup
timeout-minutes: 10
- name: Maven Checks
run: |
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
Expand All @@ -83,14 +77,8 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # checkout all commits, as the build result depends on `git describe` equivalent
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # use same JDK distro as in Trino docker images
java-version: 22
cache: 'maven'
- name: Configure Problem Matchers
run: |
echo "::add-matcher::.github/problem-matcher.json"
- uses: ./.github/actions/setup
timeout-minutes: 10
- name: Maven Install
run: |
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
Expand Down

0 comments on commit fa127a9

Please sign in to comment.