Skip to content

Update publish-cli.yml #85

Update publish-cli.yml

Update publish-cli.yml #85

Workflow file for this run

name: Publish EXE
on:
push:
tags:
- 'v*'
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 src/core/assets/icon.ico src/core/main.py --product-name "Singles Sorter" --product-version "13.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