diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7130fb3..56b078b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,12 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: Setup Java 11 and Apache Maven - uses: actions/setup-java@v1 + - name: Setup Java 21 and Apache Maven + uses: actions/setup-java@v4 with: - java-version: 11 + distribution: 'temurin' + java-version: 21 server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4e4714..0858a0b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,15 +9,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 5 persist-credentials: false - - name: Setup Java 11 and Apache Maven - uses: actions/setup-java@v1 + - name: Setup Java 21 and Apache Maven + uses: actions/setup-java@v4 with: - java-version: 11 + distribution: 'temurin' + java-version: 21 server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN @@ -82,7 +83,7 @@ jobs: sudo apt-get update sudo apt-get install xmlstarlet - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 5 persist-credentials: false diff --git a/pom.xml b/pom.xml index 2ba30b5..b3df983 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@