Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-h committed Sep 15, 2024
1 parent cc6450c commit 47cba9a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/java_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,31 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.m2
key: ${{ matrix.os }}-m2-${{ hashFiles('**/pom.xml') }}-1
# can be further improved: https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d
- name: Cache Python packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
${{ matrix.pipcache }}
key: ${{ runner.os }}-python-${{ hashFiles('**/requirements.txt') }}-pipcache
- name: Cache Transformers models
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cache/huggingface
key: ${{ runner.os }}-transformers-models
- name: Cache OAEI files # The check if the download server works as expected is in java_coverage where this cache is not enabled
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/oaei_track_cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java_client_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false # this is required for the javadoc deploy plugin
- name: Set up JDK 8
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.m2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/java_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ jobs:
with:
persist-credentials: false # this is required for the javadoc deploy plugin
- name: Set up JDK 8
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
- name: Print maven version
run: mvn -version
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-1
- name: Cache Python packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cache/pip
key: ${{ runner.os }}-python-${{ hashFiles('**/requirements.txt') }}-1
- name: Cache Transformers models
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cache/huggingface
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java_doclet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ jobs:
build-and-deploy:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
persist-credentials: false # this is required for the javadoc deploy plugin
- name: Set up JDK 8
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
- name: Print maven version
run: mvn -version
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.m2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:
with:
persist-credentials: false # this is required for the javadoc deploy plugin
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Print maven version
run: mvn -version
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-1
- name: Cache Python packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cache/pip
Expand Down

0 comments on commit 47cba9a

Please sign in to comment.