update build action

This commit is contained in:
2026-02-21 11:22:17 +03:30
parent 767de5cea9
commit 63a6842d30

View File

@@ -30,15 +30,15 @@ jobs:
arch: amd64 arch: amd64
runner: windows-latest runner: windows-latest
# macOS Intel # # macOS Intel
- os: macos # - os: macos
arch: amd64 # arch: amd64
runner: macos-13 # runner: macos-13
# macOS ARM (Apple Silicon) # # macOS ARM (Apple Silicon)
- os: macos # - os: macos
arch: arm64 # arch: arm64
runner: macos-14 # runner: macos-14
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -56,7 +56,14 @@ jobs:
run: | run: |
pyinstaller main.py --name text-engine pyinstaller main.py --name text-engine
- name: Create project zip - name: Zip the folder on Windows
if: runner.os == 'Windows'
shell: pwsh
run: |
Compress-Archive -Path dist\text-engine\* -DestinationPath release\text-engine-windows-${{ matrix.arch }}.zip
- name: Zip the folder on Linux/macOS
if: runner.os != 'Windows'
run: | run: |
mkdir -p release mkdir -p release
cd dist cd dist