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