mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix(ci): avoid unneeded jobs on master
This commit is contained in:
parent
f076a60260
commit
8f01e35746
@ -2,8 +2,9 @@
|
|||||||
.recompile:
|
.recompile:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME !~ /^master$/
|
- if: $CI_COMMIT_REF_NAME !~ /^master$/
|
||||||
- changes:
|
# No '-' here is *very* important: https://docs.gitlab.com/ee/ci/yaml/#complex-rule-clauses
|
||||||
|
changes:
|
||||||
- "**/*.{rs,ron,toml,vox,png}"
|
- "**/*.{rs,ron,toml,vox,png}"
|
||||||
- "rust-toolchain"
|
- "rust-toolchain"
|
||||||
- ".gitlab-ci.yml"
|
- ".gitlab-ci.yml"
|
||||||
- "**/*.gitlab-ci.yml"
|
- "**/*.yml"
|
||||||
|
Loading…
Reference in New Issue
Block a user