From 47cba9a137b453ecc41d7d465f86d404e78e7e67 Mon Sep 17 00:00:00 2001 From: Sven Hertling Date: Sun, 15 Sep 2024 18:34:29 +0200 Subject: [PATCH] update github actions --- .github/workflows/java_build.yml | 10 +++++----- .github/workflows/java_client_upload.yml | 6 +++--- .github/workflows/java_coverage.yml | 8 ++++---- .github/workflows/java_doclet.yml | 6 +++--- .github/workflows/java_documentation.yml | 6 +++--- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/java_build.yml b/.github/workflows/java_build.yml index bec8ef654e..9cc0d1ce9d 100644 --- a/.github/workflows/java_build.yml +++ b/.github/workflows/java_build.yml @@ -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 diff --git a/.github/workflows/java_client_upload.yml b/.github/workflows/java_client_upload.yml index c87dc27334..7444d896b2 100644 --- a/.github/workflows/java_client_upload.yml +++ b/.github/workflows/java_client_upload.yml @@ -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 diff --git a/.github/workflows/java_coverage.yml b/.github/workflows/java_coverage.yml index 52435d4cd9..d7ab681ba0 100644 --- a/.github/workflows/java_coverage.yml +++ b/.github/workflows/java_coverage.yml @@ -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 diff --git a/.github/workflows/java_doclet.yml b/.github/workflows/java_doclet.yml index 441de3fd4a..4022e0c80c 100644 --- a/.github/workflows/java_doclet.yml +++ b/.github/workflows/java_doclet.yml @@ -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 diff --git a/.github/workflows/java_documentation.yml b/.github/workflows/java_documentation.yml index 7293fd8788..ec045f9f73 100644 --- a/.github/workflows/java_documentation.yml +++ b/.github/workflows/java_documentation.yml @@ -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