Run build only when pushing changes to src/**, .github/** and Gradle files.
This commit is contained in:
parent
8ee5891dba
commit
21df2cc7bf
1 changed files with 9 additions and 2 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
|
@ -1,6 +1,13 @@
|
|||
name: Build
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- '.github/**'
|
||||
- 'build.gradle.kts'
|
||||
- 'gradle.properties'
|
||||
- 'settings.gradle'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -33,4 +40,4 @@ jobs:
|
|||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v6.0.0
|
||||
with:
|
||||
path: build/libs/*.jar
|
||||
path: build/libs/*.jar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue