Skip to content

Commit

Permalink
Update tester.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zRains authored Jul 30, 2024
1 parent 6c321a9 commit 45400f3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- &setup-java-maven
name: Setup java & maven
- name: Setup java & maven
uses: actions/setup-java@v4
with:
distribution: 'temurin'
Expand All @@ -31,6 +30,7 @@ jobs:

run_tests:
runs-on: ubuntu-latest
needs: setup-dependencies
env:
TEMP: /tmp
TEMPDIR: /tmp
Expand All @@ -49,7 +49,12 @@ jobs:
- name: Install distro
run: pip3 install distro

- <<: *setup-java-maven
- name: Setup java & maven
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'

- name: Restore Maven dependencies from cache
uses: actions/cache@v4
Expand Down

0 comments on commit 45400f3

Please sign in to comment.