diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index ea0fbb2565..c26d7af864 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -17,7 +17,7 @@ jobs: timeout-minutes: 20 strategy: matrix: - java: [ 8, 11, 17 ] + java: [ 8, 11, 17, 21 ] steps: - name: Checkout twilio-java uses: actions/checkout@v3 diff --git a/pom.xml b/pom.xml index e3c5518c44..634d766a12 100644 --- a/pom.xml +++ b/pom.xml @@ -176,6 +176,7 @@ twilio-java **/test/**/*.*,**/rest/**/*.* **/rest/**/*.* + ${java.version} @@ -349,8 +350,8 @@ maven-compiler-plugin 3.8.1 - 8 - 8 + ${java.version} + ${java.version} true true @@ -494,4 +495,4 @@ - \ No newline at end of file +