Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .github/workflows/01-apk-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Montar APK 01

on:
# Runs on push to any of the below branches
# push:
# branches:
# - main

# Runs on pull request events that target one of the below branches
# pull_request:
# branches:
# - main

# Allows you to run this workflow manually from the Actions tab of the repository
workflow_dispatch:

env:
# https://flet.dev/docs/publish#versioning
BUILD_NUMBER: 1
BUILD_VERSION: 1.0.0

# Python version to use
PYTHON_VERSION: 3.14.0

# flet-cli version to install for `flet build`
FLET_CLI_VERSION: 0.28.3

# Ensures Python uses UTF-8 encoding by default
PYTHONUTF8: 1

# Disables rich text formatting in Flet CLI output
FLET_CLI_NO_RICH_OUTPUT: 1

# Disables progress bars when using UV
UV_NO_PROGRESS: 1

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install flet-cli ${{ env.FLET_CLI_VERSION }}
run: |
python -m pip install --upgrade pip
pip install flet-cli==$FLET_CLI_VERSION

- name: Flet Build APK
run: |
cd 07_app_hibrido/
flet build apk 01_hello_world_janela --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
- name: Upload APK Artifact
uses: actions/upload-artifact@v4.3.4 # https://github.com/marketplace/actions/upload-a-build-artifact
with:
name: apk-build-artifact # the name of the artifact
path: /home/runner/work/python_app_hibrido_qua526001/python_app_hibrido_qua526001/07_app_hibrido/01_hello_world_janela/build/flutter/build/app/outputs/flutter-apk/* # location of Flet build output
if-no-files-found: error # Fail the action with an error message if no files are found
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
65 changes: 65 additions & 0 deletions .github/workflows/02-apk-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Montar APK 02

on:
# Runs on push to any of the below branches
# push:
# branches:
# - main
#
# Runs on pull request events that target one of the below branches
# pull_request:
# branches:
# - main
#
# Allows you to run this workflow manually from the Actions tab of the repository
workflow_dispatch:

env:
# https://flet.dev/docs/publish#versioning
BUILD_NUMBER: 1
BUILD_VERSION: 1.0.0

# Python version to use
PYTHON_VERSION: 3.14.0

# flet-cli version to install for `flet build`
FLET_CLI_VERSION: 0.28.3

# Ensures Python uses UTF-8 encoding by default
PYTHONUTF8: 1

# Disables rich text formatting in Flet CLI output
FLET_CLI_NO_RICH_OUTPUT: 1

# Disables progress bars when using UV
UV_NO_PROGRESS: 1

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install flet-cli ${{ env.FLET_CLI_VERSION }}
run: |
python -m pip install --upgrade pip
pip install flet-cli==$FLET_CLI_VERSION

- name: Flet Build APK
run: |
cd 07_app_hibrido/
flet build apk 02_texto_e_imagem --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
- name: Upload APK Artifact
uses: actions/upload-artifact@v4.3.4 # https://github.com/marketplace/actions/upload-a-build-artifact
with:
name: apk-build-artifact # the name of the artifact
path: /home/runner/work/python_app_hibrido_qua526001/python_app_hibrido_qua526001/07_app_hibrido/02_texto_e_imagem/build/flutter/build/app/outputs/flutter-apk/* # location of Flet build output
if-no-files-found: error # Fail the action with an error message if no files are found
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
65 changes: 65 additions & 0 deletions .github/workflows/03-apk-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Montar APK 03

on:
# Runs on push to any of the below branches
# push:
# branches:
# - main
#
# Runs on pull request events that target one of the below branches
# pull_request:
# branches:
# - main
#
# Allows you to run this workflow manually from the Actions tab of the repository
workflow_dispatch:

env:
# https://flet.dev/docs/publish#versioning
BUILD_NUMBER: 1
BUILD_VERSION: 1.0.0

# Python version to use
PYTHON_VERSION: 3.14.0

# flet-cli version to install for `flet build`
FLET_CLI_VERSION: 0.28.3

# Ensures Python uses UTF-8 encoding by default
PYTHONUTF8: 1

# Disables rich text formatting in Flet CLI output
FLET_CLI_NO_RICH_OUTPUT: 1

# Disables progress bars when using UV
UV_NO_PROGRESS: 1

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install flet-cli ${{ env.FLET_CLI_VERSION }}
run: |
python -m pip install --upgrade pip
pip install flet-cli==$FLET_CLI_VERSION

- name: Flet Build APK
run: |
cd 07_app_hibrido/
flet build apk 03_eventos --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
- name: Upload APK Artifact
uses: actions/upload-artifact@v4.3.4 # https://github.com/marketplace/actions/upload-a-build-artifact
with:
name: apk-build-artifact # the name of the artifact
path: /home/runner/work/python_app_hibrido_qua526001/python_app_hibrido_qua526001/07_app_hibrido/03_eventos/build/flutter/build/app/outputs/flutter-apk/* # location of Flet build output
if-no-files-found: error # Fail the action with an error message if no files are found
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
65 changes: 65 additions & 0 deletions .github/workflows/04-apk-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Montar APK 04

on:
# Runs on push to any of the below branches
# push:
# branches:
# - main
#
# Runs on pull request events that target one of the below branches
# pull_request:
# branches:
# - main
#
# Allows you to run this workflow manually from the Actions tab of the repository
workflow_dispatch:

env:
# https://flet.dev/docs/publish#versioning
BUILD_NUMBER: 1
BUILD_VERSION: 1.0.0

# Python version to use
PYTHON_VERSION: 3.14.0

# flet-cli version to install for `flet build`
FLET_CLI_VERSION: 0.28.3

# Ensures Python uses UTF-8 encoding by default
PYTHONUTF8: 1

# Disables rich text formatting in Flet CLI output
FLET_CLI_NO_RICH_OUTPUT: 1

# Disables progress bars when using UV
UV_NO_PROGRESS: 1

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install flet-cli ${{ env.FLET_CLI_VERSION }}
run: |
python -m pip install --upgrade pip
pip install flet-cli==$FLET_CLI_VERSION

- name: Flet Build APK
run: |
cd 07_app_hibrido/
flet build apk 04_flex_fuel --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
- name: Upload APK Artifact
uses: actions/upload-artifact@v4.3.4 # https://github.com/marketplace/actions/upload-a-build-artifact
with:
name: apk-build-artifact # the name of the artifact
path: /home/runner/work/python_app_hibrido_qua526001/python_app_hibrido_qua526001/07_app_hibrido/04_flex_fuel/build/flutter/build/app/outputs/flutter-apk/* # location of Flet build output
if-no-files-found: error # Fail the action with an error message if no files are found
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
69 changes: 69 additions & 0 deletions .github/workflows/05-apk-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Montar APK 05

on:
# Runs on push to any of the below branches
# push:
# branches:
# - main
#
# Runs on pull request events that target one of the below branches
# pull_request:
# branches:
# - main
#
# Allows you to run this workflow manually from the Actions tab of the repository
workflow_dispatch:

env:
# https://flet.dev/docs/publish#versioning
BUILD_NUMBER: 1
BUILD_VERSION: 1.0.0

# Python version to use
PYTHON_VERSION: 3.14.0

# flet-cli version to install for `flet build`
FLET_CLI_VERSION: 0.28.3

# Ensures Python uses UTF-8 encoding by default
PYTHONUTF8: 1

# Disables rich text formatting in Flet CLI output
FLET_CLI_NO_RICH_OUTPUT: 1

# Disables progress bars when using UV
UV_NO_PROGRESS: 1

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install flet-cli ${{ env.FLET_CLI_VERSION }}
run: |
python -m pip install --upgrade pip
pip install flet-cli==$FLET_CLI_VERSION

- name: Install Dependences
run: |
pip install pytubefix

- name: Flet Build APK
run: |
cd 07_app_hibrido/
flet build apk 05_yt_downloader --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION
- name: Upload APK Artifact
uses: actions/upload-artifact@v4.3.4 # https://github.com/marketplace/actions/upload-a-build-artifact
with:
name: apk-build-artifact # the name of the artifact
path: /home/runner/work/python_app_hibrido_qua526001/python_app_hibrido_qua526001/07_app_hibrido/05_yt_downloader/build/flutter/build/app/outputs/flutter-apk/* # location of Flet build output
if-no-files-found: error # Fail the action with an error message if no files are found
overwrite: false # If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
4 changes: 2 additions & 2 deletions 07_app_hibrido/02_texto_e_imagem/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "02-texto-e-imagem"
name = "texto-e-imagem"
version = "0.1.0"
description = ""
readme = "README.md"
Expand Down Expand Up @@ -38,4 +38,4 @@ dev-dependencies = [
package-mode = false

[tool.poetry.group.dev.dependencies]
flet = {extras = ["all"], version = "0.28.3"}
flet = {extras = ["all"], version = "0.28.3"}
4 changes: 2 additions & 2 deletions 07_app_hibrido/03_eventos/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "03-eventos"
name = "eventos"
version = "0.1.0"
description = ""
readme = "README.md"
Expand Down Expand Up @@ -38,4 +38,4 @@ dev-dependencies = [
package-mode = false

[tool.poetry.group.dev.dependencies]
flet = {extras = ["all"], version = "0.28.3"}
flet = {extras = ["all"], version = "0.28.3"}
4 changes: 2 additions & 2 deletions 07_app_hibrido/04_flex_fuel/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "04-flex-fuel"
name = "flex-fuel"
version = "0.1.0"
description = ""
readme = "README.md"
Expand Down Expand Up @@ -38,4 +38,4 @@ dev-dependencies = [
package-mode = false

[tool.poetry.group.dev.dependencies]
flet = {extras = ["all"], version = "0.28.3"}
flet = {extras = ["all"], version = "0.28.3"}
Loading