File tree Expand file tree Collapse file tree
sdk/python/packages/flet/docs/publish Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,5 +196,5 @@ jobs:
196196 with :
197197 name : ${{ matrix.artifact_name }}
198198 path : sdk/python/examples/apps/flet_build_test/${{ matrix.artifact_path }}
199- if-no-files-found : warn
199+ if-no-files-found : fail
200200 overwrite : false
Original file line number Diff line number Diff line change @@ -1305,11 +1305,12 @@ the build and release process of your Flet apps.
13051305
13061306### GitHub Actions
13071307
1308- The below example shows how to use ` flet build ` in a GitHub Actions workflow.
1308+ The below example shows how to use ` flet build ` in a [ GitHub Actions] ( https://docs.github.com/en/actions ) workflow.
13091309It builds the app for all platforms and uploads the resulting artifacts to the workflow run.
1310+ You could further customize/tailor it to best fit your specific needs.
13101311
13111312{% raw %}
1312- ``` yaml
1313+ ``` yaml title=build.yml
13131314name : Build Flet App
13141315
13151316on :
@@ -1318,7 +1319,7 @@ on:
13181319 workflow_dispatch :
13191320
13201321env :
1321- UV_PYTHON : 3.12
1322+ UV_PYTHON : 3.12 # Python version
13221323 PYTHONUTF8 : 1
13231324
13241325 # https://docs.flet.dev/publish/
@@ -1431,7 +1432,7 @@ jobs:
14311432 with :
14321433 name : ${{ matrix.name }}-build-artifact
14331434 path : ${{ matrix.artifact_path }}
1434- if-no-files-found : warn
1435+ if-no-files-found : fail
14351436 overwrite : false
14361437` ` `
14371438{% endraw %}
You can’t perform that action at this time.
0 commit comments