set workflow for v2 only [ci skip]

This commit is contained in:
alexcrea 2026-07-11 01:20:37 +02:00
parent 036f480113
commit 11e10b5850
Signed by: alexcrea
GPG key ID: E59DF23EE2A2266C

View file

@ -9,11 +9,12 @@ name: Java CI with Gradle
on:
push:
branches: [ "v1.x.x", "v2.x.x", "v3.x.x" ]
branches: [ "v2.x.x" ]
pull_request:
branches: [ "v1.x.x", "v2.x.x", "v3.x.x" ]
branches: [ "v2.x.x" ]
release:
types: [published]
branches: [ "v2.x.x" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
@ -35,7 +36,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: |
21
25
distribution: 'temurin'
cache: gradle