Skip to content

Commit

Permalink
קבצים עדכניים לבניית התוכנה
Browse files Browse the repository at this point in the history
  • Loading branch information
NHLOCAL committed Dec 18, 2024
1 parent ae965b2 commit 2f86783
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- flet-build
paths:
- '.github/workflows/apk-build-official.yml'
- '.github/workflows/apk-build.yml'


# Allows you to run this workflow manually from the Actions tab of the repository
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Windows Build

on:
push:
branches:
- flet-build
paths:
- '.github/workflows/windows-build.yml'

# 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: 3.12.2
FLUTTER_VERSION: 3.24.0

jobs:
build:
runs-on: windows-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 Python Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Setup Flutter ${{ env.FLUTTER_VERSION }}
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}

- name: Flet Build Windows
run: |
flutter config --no-analytics
flet build windows --v --no-rich-output
env:
PYTHONIOENCODING: utf-8
PYTHONUTF8: 1


- name: Upload Windows Artifact
uses: actions/[email protected]
with:
name: windows-build-artifact
path: build/windows
if-no-files-found: error
overwrite: false


0 comments on commit 2f86783

Please sign in to comment.