Update gradle.yml

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

View File

@ -8,8 +8,14 @@
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" ]