diff --git a/.github/workflows/build-maven.yml b/.github/workflows/build-maven.yml
index c1f9aa9..6f92d8d 100644
--- a/.github/workflows/build-maven.yml
+++ b/.github/workflows/build-maven.yml
@@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
with:
submodules: true
- name: Set up JDK 1.8
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v4
with:
- java-version: 1.8
- - name: Build with Maven
+ java-version: 8
+ distribution: temurin
run: |
mkdir -p ~/.m2
printf "github${{ secrets.ORG_USERNAME }}${{ secrets.ORG_TOKEN }}" > ~/.m2/settings.xml
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index d7f33bc..67c089b 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -40,7 +40,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
@@ -55,9 +55,10 @@ jobs:
# queries: security-extended,security-and-quality
- name: Set up JDK 1.8
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v4
with:
- java-version: 1.8
+ java-version: 8
+ distribution: temurin
- name: Build with Maven
run: |
diff --git a/.github/workflows/publish-maven.yml b/.github/workflows/publish-maven.yml
index 176f912..342d87a 100644
--- a/.github/workflows/publish-maven.yml
+++ b/.github/workflows/publish-maven.yml
@@ -11,15 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
with:
submodules: true
- name: Set up JDK 1.8
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v4
with:
- java-version: 1.8
+ java-version: 8
+ distribution: temurin
- name: Deploy to Github Package Registry
run: |
mkdir -p ~/.m2
printf "github${{ secrets.ORG_USERNAME }}${{ secrets.ORG_TOKEN }}" > ~/.m2/settings.xml
- mvn deploy
\ No newline at end of file
+ mvn deploy