Skip to content

Commit a36a4d5

Browse files
committed
change if-no-files-found to fail and enhance clarity in the index.md example
1 parent 31d9454 commit a36a4d5

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

sdk/python/packages/flet/docs/publish/index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
13091309
It 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
13131314
name: Build Flet App
13141315

13151316
on:
@@ -1318,7 +1319,7 @@ on:
13181319
workflow_dispatch:
13191320

13201321
env:
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 %}

0 commit comments

Comments
 (0)