File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 45
45
46
46
- name : Deploy to GitHub Pages
47
47
run : |
48
- uv venv
49
48
uv run --group docs --group lint mkdocs gh-deploy --force -v
Original file line number Diff line number Diff line change @@ -41,11 +41,10 @@ jobs:
41
41
cache : true
42
42
43
43
- name : Analyze Flutter package
44
+ working-directory : src/flutter/flet_permission_handler
44
45
run : |
45
- cd src/flutter/*
46
46
dart pub get
47
47
dart analyze
48
- cd -
49
48
50
49
- name : Build Python package
51
50
run : uv build
56
55
name : dist
57
56
path : dist/*.whl
58
57
58
+ - name : Filter publish-relevant changes
59
+ uses : dorny/paths-filter@v3
60
+ id : changes
61
+ with :
62
+ filters : |
63
+ publish:
64
+ - 'src/**'
65
+ - 'pyproject.toml'
66
+
59
67
- name : Publish Python package
60
- if : github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
68
+ if : steps.changes.outputs.publish == 'true' && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
61
69
run : uv publish
You can’t perform that action at this time.
0 commit comments