-
-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (36 loc) · 1.02 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 server" --without dev
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