Update gradle.yml

This commit is contained in:
Robin Bärtschi 2024-07-06 15:35:10 +02:00 committed by GitHub
parent f4456bc26c
commit 032e58c663
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,13 +9,11 @@ name: Java CI with Gradle
on:
workflow_dispatch:
push:
branches: [ "1.21.x" ]
if: "!startsWith(github.ref, 'refs/tags/')"
push:
branches: [ "1.21.x" ]
tags: "*"
if: "startsWith(github.ref, 'refs/tags/')"
pull_request:
branches: [ "1.21.x" ]