|
@@ -42,12 +42,19 @@ jobs:
|
|
|
- name: Install Dependencies
|
|
|
run: |
|
|
|
python -m pip install --upgrade pip wheel setuptools poetry
|
|
|
+ poetry config virtualenvs.in-project true
|
|
|
poetry install
|
|
|
|
|
|
- - name: Build Package
|
|
|
+ - name: Build Package on Linux
|
|
|
+ if: matrix.os == 'ubuntu-20.04'
|
|
|
run: |
|
|
|
- poetry run python -m PyInstaller -F -c --name search_domain main.py
|
|
|
+ poetry run python -m PyInstaller search_domain-linux.spec
|
|
|
|
|
|
+ - name: Build Package on Windows
|
|
|
+ if: matrix.os == 'windows-latest'
|
|
|
+ run: |
|
|
|
+ poetry run python -m PyInstaller search_domain-windows.spec
|
|
|
+
|
|
|
- name: Update to ali oss
|
|
|
uses: yizhoumo/setup-ossutil@v1
|
|
|
with:
|