Skip to content
name: Package exe with PyInstaller - Windows
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
working-directory: ./server
jobs:
windows-cpu+dml:

Check failure on line 14 in .github/workflows/build-executable.yml

View workflow run for this annotation

GitHub Actions / Package exe with PyInstaller - Windows

Invalid workflow file

The workflow is not valid. .github/workflows/build-executable.yml (Line: 14, Col: 3): The identifier 'windows-cpu+dml' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: x64
# cache: pip
- name: Installing build dependencies
run: python -m pip install --upgrade pip wheel setuptools pyinstaller
- name: Installing project dependencies
run: python -m pip install -r requirements-common.txt -r requirements-dml.txt
- name: Building executable
run: pyinstaller --clean -y --dist ./dist --workpath /tmp MMVCServerSIO.spec
- name: Uploading artifact
uses: actions/upload-artifact@v4
with:
name: voice-changer
path: ./dist
# linux-cpu:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: '3.10'
# architecture: 'x64'
# # cache: 'pip'
# - name: Installing build dependencies
# run: python -m pip install --upgrade pip wheel setuptools pyinstaller
# - name: Installing project dependencies
# run: |
# cd server
# python -m pip install -r requirements-common.txt -r requirements-dml.txt
# - name: Building executable
# run: pyinstaller --clean -y --dist ./dist --workpath /tmp MMVCServerSIO.spec
# - name: Uploading artifact
# uses: actions/upload-artifact@v4
# with:
# name: voice-changer
# path: server/dist