Skip to content

Commit 7acaddc

Browse files
committed
update flet dependency to version 0.80.6.dev7577 and enhance README with detailed workflow descriptions
1 parent b0c5d4c commit 7acaddc

2 files changed

Lines changed: 11 additions & 30 deletions

File tree

README.md

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,20 @@ Feel free to reuse them and customize to your specific usecases and needs.
88

99
## What is in this repo
1010

11-
| File | Purpose |
12-
|----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
13-
| [`.github/workflows/all-builds.yml`](.github/workflows/all-builds.yml) | Builds for Linux, macOS, Windows, AAB, APK, IPA, and Web in one workflow |
14-
| [`.github/workflows/web-build-and-github-pages-deploy.yml`](.github/workflows/web-build-and-github-pages-deploy.yml) | Builds for Web and deploys to GitHub Pages |
15-
| [`pyproject.toml`](pyproject.toml) | Example Flet project configuration |
16-
| [`src/main.py`](src/main.py) | Example Flet app to test the workflows |
11+
## What is in this repo
12+
13+
| File | Purpose |
14+
|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
15+
| [`.github/workflows/all-builds.yml`](.github/workflows/all-builds.yml) | Builds for Linux, macOS, Windows, AAB, APK, IPA, and Web.<br>More details [here](https://docs.flet.dev/publish/#github-actions). |
16+
| [`.github/workflows/web-build-and-github-pages-deploy.yml`](.github/workflows/web-build-and-github-pages-deploy.yml) | Builds the web app and deploys it to GitHub Pages.<br><br>Uses:<br>• `--base-url ${GITHUB_REPOSITORY#*/}` (repository name as base URL)<br>• `--route-url-strategy hash` (recommended for static hosts like GitHub Pages) |
17+
| [`pyproject.toml`](pyproject.toml) | Example Flet project configuration |
18+
| [`src/main.py`](src/main.py) | Example Flet app to test the workflows |
19+
1720

1821
**Quick start:**
1922
1. Copy the workflow(s) you need into your own repository under `.github/workflows/`.
2023
2. Push to GitHub or run manually from the Actions tab of your repository.
2124

22-
## Workflow details
23-
24-
### `all-builds.yml`
25-
26-
- Uses `uv` for Python and command execution.
27-
- Uses a matrix strategy to build: `linux`, `macos`, `windows`, `aab`, `apk`, `ipa`, `web`.
28-
- Uploads one artifact per target with the pattern `<target>-build-artifact`.
29-
- Includes a Linux dependency installation step only when needed for Linux desktop builds.
30-
- Supports manual runs via `workflow_dispatch`.
31-
32-
### `web-build-and-github-pages-deploy.yml`
33-
34-
- Builds the web app with:
35-
- `--base-url ${GITHUB_REPOSITORY#*/}` (repository name as base URL)
36-
- `--route-url-strategy hash` (good for static hosts like GitHub Pages)
37-
- Uploads `build/web` as a Pages artifact named `web-build-artifact` with `retention-days: 20`.
38-
- Deploys only on push to the `main` branch.
39-
- Supports manual runs via `workflow_dispatch`.
40-
4125
## Common customization points
4226

4327
- Triggers: adjust `push`, `pull_request`, and `workflow_dispatch` for your flow.

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ authors = [
88
{ name = "TheEthicalBoy", email = "me@ethicalboy.com" }
99
]
1010
dependencies = [
11-
"flet==0.80.5"
11+
"flet==0.80.6.dev7577"
1212
]
1313

1414
[dependency-groups]
1515
dev = [
16-
"flet[all]==0.80.5",
16+
"flet[all]==0.80.6.dev7577",
1717
]
1818

1919
# Docs: https://docs.flet.dev/publish
@@ -24,6 +24,3 @@ product = "Flet GHA Example"
2424

2525
[tool.flet.app]
2626
path = "src"
27-
28-
[tool.flet.template]
29-
ref = "0.80.6"

0 commit comments

Comments
 (0)