Remove optional import #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Workflow | |
on: | |
# push: | |
# branches: master | |
# workflow_dispatch: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Run Poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: "1.3.2" | |
- name: Run PyInstaller | |
# poetry config virtualenvs.create false | |
# poetry install --extras "GUI poetry-workaround" --without dev | |
run: | | |
poetry install --extras "GUI" | |
poetry run pip install pyinstaller | |
poetry run python ./russian_text_stresser/download_db.py | |
poetry run python ./russian_text_stresser/compile.py | |
- name: Create Release | |
id: create_release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
Stress-Marker-win.zip | |