Skip to content

Add files via upload #95

Add files via upload

Add files via upload #95

Workflow file for this run

name: VeTube-x64
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.12.4
architecture: x64
- name: Install dependencies
run: |
pip install --upgrade pip wheel setuptools
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 main.py --windowed
gdown 1ZtF6zus0A7kC9Lwr_kTUbw0MiOoZq29H -O dist/VeTube/bootstrap.exe
rename main VeTube
cp -R chat_downloader dist/VeTube/_internal/
cp -R doc dist/VeTube/
cp -R locales dist/VeTube/
cp -R sounds dist/VeTube/
cp -R espeak-phonemizer-windows/espeak_phonemizer dist/VeTube/_internal/
- uses: actions/upload-artifact@v3
with:
name: VeTube-x64
path: dist/VeTube
if-no-files-found: error
- name: zip packaging
run: |
cd dist/VeTube
7z a ../../VeTube-x64.zip .
cd ../../
- name: vetube_release
uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
files: VeTube-x64.zip
prerelease: ${{ contains(github.ref, '-') }}