Skip to content

revertimos actions

revertimos actions #36

Workflow file for this run

name: VeTube-x86
on:
push:
tags: ["*"]
branches: [ master , piper ]
pull_request:
branches: [ master , piper ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Source checkout
uses: actions/checkout@v3
- name: Configure Python
uses: actions/setup-python@v4
with:
python-version: 3.10.11
architecture: x86
- name: Install dependencies
run: |
pip install --upgrade pip wheel setuptools
pip install Pillow==9.5.0
pip install -r requirements.txt
pip install pyinstaller gdown
pip install --upgrade pyzmq httpx httpcore future
git clone https://github.com/mush42/espeak-phonemizer-windows
- name: Compiling
run: |
pyinstaller VeTube.py --windowed
gdown 1ZtF6zus0A7kC9Lwr_kTUbw0MiOoZq29H -O dist/VeTube/bootstrap.exe
cp -R chat_downloader dist/VeTube/
cp -R doc dist/VeTube/
cp -R locales dist/VeTube/
cp -R sounds dist/VeTube/
cp -R espeak-phonemizer-windows/espeak_phonemizer dist/VeTube/
- uses: actions/upload-artifact@v3
with:
name: VeTube-x86
path: dist/VeTube
if-no-files-found: error
- name: zip packaging
run: |
cd dist/VeTube
7z a ../../VeTube-x86.zip .
cd ../../
- name: vetube_release
uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
files: VeTube-x86.zip
prerelease: ${{ contains(github.ref, '-') }}