Skip to content

Merge pull request #31 from Zhou-Shilin/feat-force-nojson #20

Merge pull request #31 from Zhou-Shilin/feat-force-nojson

Merge pull request #31 from Zhou-Shilin/feat-force-nojson #20

Workflow file for this run

name: Linux Builds
on:
push:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set locale encoding to UTF-8
run: |
python -c "import locale; locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')"
- name: Build project
run: python setup.py build
- name: Zip build folder
run: |
cd build
zip -r ../linux-build.zip .
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: linux-build
path: linux-build.zip