|
|
|
@@ -15,7 +15,7 @@ jobs: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
platform: [ubuntu-latest, macos-latest, windows-latest] |
|
|
|
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
|
|
|
python-version: ["3.7"] |
|
|
|
fail-fast: false |
|
|
|
runs-on: ${{ matrix.platform }} |
|
|
|
|
|
|
|
@@ -80,25 +80,3 @@ jobs: |
|
|
|
asset_path: archive.zip |
|
|
|
asset_name: dora-${{ github.ref_name }}-x86_64-${{ runner.os }}.zip |
|
|
|
asset_content_type: application/zip |
|
|
|
|
|
|
|
# Publish Dora Node Python API |
|
|
|
- name: Set up Python |
|
|
|
uses: actions/setup-python@v2 |
|
|
|
with: |
|
|
|
python-version: ${{ matrix.python-version }} |
|
|
|
- name: Install dependencies |
|
|
|
run: | |
|
|
|
python -m pip install --upgrade pip |
|
|
|
pip install maturin==0.13.2 |
|
|
|
- name: Publish wheel |
|
|
|
shell: bash |
|
|
|
env: |
|
|
|
MATURIN_PASSWORD: ${{ secrets.PYPI_PASS }} |
|
|
|
run: | |
|
|
|
cd apis/python/node |
|
|
|
maturin publish \ |
|
|
|
--no-sdist \ |
|
|
|
--skip-existing \ |
|
|
|
-o wheels \ |
|
|
|
-i python \ |
|
|
|
--username __token__ \ |