mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-03 13:45:31 +00:00
Windows CI: only run when certain files are modified
The Windows CI does not need to run when files such as docs are changed.
This commit is contained in:
parent
5e85d043fd
commit
89824bc705
1 changed files with 25 additions and 1 deletions
26
.github/workflows/windows.yml
vendored
26
.github/workflows/windows.yml
vendored
|
@ -1,5 +1,29 @@
|
||||||
name: Windows CI
|
name: Windows CI
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- '**.py'
|
||||||
|
- '**.pyx'
|
||||||
|
- '**.c'
|
||||||
|
- '**.h'
|
||||||
|
- '**.yml'
|
||||||
|
- '**.cfg'
|
||||||
|
- '**.ini'
|
||||||
|
- 'requirements.d/*'
|
||||||
|
- '!docs/**'
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- '**.py'
|
||||||
|
- '**.pyx'
|
||||||
|
- '**.c'
|
||||||
|
- '**.h'
|
||||||
|
- '**.yml'
|
||||||
|
- '**.cfg'
|
||||||
|
- '**.ini'
|
||||||
|
- 'requirements.d/*'
|
||||||
|
- '!docs/**'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
SETUPTOOLS_USE_DISTUTILS: stdlib # Needed for pip to work - https://www.msys2.org/docs/python/#known-issues
|
SETUPTOOLS_USE_DISTUTILS: stdlib # Needed for pip to work - https://www.msys2.org/docs/python/#known-issues
|
||||||
|
|
Loading…
Reference in a new issue