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 4545
4646 - name : Deploy to GitHub Pages
4747 run : |
48- uv venv
4948 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:
4141 cache : true
4242
4343 - name : Analyze Flutter package
44+ working-directory : src/flutter/flet_permission_handler
4445 run : |
45- cd src/flutter/*
4646 dart pub get
4747 dart analyze
48- cd -
4948
5049 - name : Build Python package
5150 run : uv build
5655 name : dist
5756 path : dist/*.whl
5857
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+
5967 - 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/'))
6169 run : uv publish
You can’t perform that action at this time.
0 commit comments