veloren/.gitlab/CI/recompile.yml

11 lines
386 B
YAML
Raw Normal View History

2020-05-15 13:34:52 +00:00
# Template to only run if actual changes has been made to the code and not just documentation
.recompile:
rules:
- if: $CI_COMMIT_REF_NAME !~ /^master$/
2020-05-30 09:03:47 +00:00
# No '-' here is *very* important: https://docs.gitlab.com/ee/ci/yaml/#complex-rule-clauses
changes:
- "**/*.{rs,ron,toml,vox,png}"
2020-05-15 13:34:52 +00:00
- "rust-toolchain"
- ".gitlab-ci.yml"
2020-05-30 09:03:47 +00:00
- "**/*.yml"