You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/05/11 14:33:34 UTC

[tomcat] branch main updated: Update GitHub actions

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 0e16e831e4 Update GitHub actions
0e16e831e4 is described below

commit 0e16e831e49b41b2087500119053be3381251811
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu May 11 15:31:34 2023 +0100

    Update GitHub actions
    
    Update Java versions to
     - latest LTS
     - latest release
     - latest EA
    
    Limit main to running on latest EA (Java 21) as it will shortly be
    updated to require that version
---
 .github/workflows/ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 718d2c9c53..588e0d8344 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,11 +31,16 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java: [ 17, 19, 20-ea ]
+        isMain:
+          - ${{ contains(github.ref, 'main') }}
+        java: [ 17, 20, 21-ea ]
         os: [ ubuntu-latest ]
         include:
         - os: windows-latest
           java: 17
+        exclude:
+          - isMain: false
+            java: 17, 20
     name: JDK${{ matrix.java }} ${{ matrix.os }}
     runs-on: ${{ matrix.os }}
     steps:


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org