|
@@ -8,6 +8,8 @@ on:
|
|
|
branches: [ "master" ]
|
|
branches: [ "master" ]
|
|
|
pull_request:
|
|
pull_request:
|
|
|
branches: [ "master" ]
|
|
branches: [ "master" ]
|
|
|
|
|
+ workflow_dispatch:
|
|
|
|
|
+
|
|
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
|
build:
|
|
build:
|
|
@@ -28,7 +30,15 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
python -m pip install --upgrade pip
|
|
python -m pip install --upgrade pip
|
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
|
-
|
|
|
|
|
|
|
+ - name: Install wheel
|
|
|
|
|
+ run: |
|
|
|
|
|
+ python -m pip install wheel
|
|
|
- name: Build wheel
|
|
- name: Build wheel
|
|
|
run: |
|
|
run: |
|
|
|
python setup.py bdist_wheel
|
|
python setup.py bdist_wheel
|
|
|
|
|
+ - name: Upload artifact
|
|
|
|
|
+ uses: actions/upload-artifact@v2
|
|
|
|
|
+ with:
|
|
|
|
|
+ name: wheel-file
|
|
|
|
|
+ path: dist/*.whl
|
|
|
|
|
+
|