התאמת עיצוב לאנדרואיד #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish EXE | |
on: | |
push: | |
branches: | |
- gui | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
pip install pyinstaller music_tag jibrish_to_hebrew flet | |
- name: Build EXE | |
run: | | |
flet pack -i gui-project/assets/icon.ico gui-project/main.py --product-name "Singles Sorter" --product-version "12.9.0" --file-description "Singles Sorter" --copyright "[email protected]" | |
- name: Create Artifact Directory | |
run: mkdir -p artifacts | |
- name: Copy Output File to Artifact Directory | |
run: copy dist\main.exe artifacts\ | |
- name: Zip Artifact Directory | |
run: | | |
cd artifacts | |
powershell -Command "Compress-Archive -Path * -DestinationPath Singles-Sorter.zip" | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: singles-sorter | |
path: artifacts/Singles-Sorter.zip |