Skip to content

Update LICENSE

Update LICENSE #34

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Build Executables
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
if (Test-Path source\GUIrequire.txt) { pip install -r source\GUIrequire.txt }
- name: Build Windows exe EN
run: |
pyinstaller --onefile -w GUI_EN.py
working-directory: source
- name: Upload EN executable
uses: actions/upload-artifact@v2
with:
name: GUI_EN.exe
path: source\dist\GUI_EN.exe
- name: Build Windows exe ZHCN
run: |
pyinstaller --onefile -w GUI_ZhCN.py
working-directory: source
- name: Upload ZHCN executable
uses: actions/upload-artifact@v2
with:
name: GUI_ZhCN.exe
path: source\dist\GUI_ZhCN.exe