仅在必要时运行 GitHub Action (#2892)

* 仅在必要时运行 GitHub Action

* test

* test

* test

* update
This commit is contained in:
Glavo 2024-03-05 05:23:34 +08:00 committed by GitHub
parent 88d7493870
commit c39c19f215
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 21 additions and 3 deletions

View File

@ -1,6 +1,12 @@
name: Check Style
on: [push, pull_request]
on:
push:
paths:
'**.java'
pull_request:
paths:
'**.java'
jobs:
build:

View File

@ -1,6 +1,12 @@
name: Check Translations
on: [push, pull_request]
on:
push:
paths:
'**.properties'
pull_request:
paths:
'**.properties'
jobs:
build:

View File

@ -1,6 +1,12 @@
name: Java CI
on: [push, pull_request]
on:
push:
paths-ignore:
'**.md'
pull_request:
paths-ignore:
'**.md'
jobs:
build: