You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: Pypi Release
-
- permissions:
- contents: write
-
- on:
- release:
- types:
- - "published"
-
- jobs:
- release:
- name: "Pypi Release"
-
- strategy:
- matrix:
- platform: [ubuntu-latest, ubuntu-20.04]
- python-version: ["3.7"]
- fail-fast: false
- runs-on: ${{ matrix.platform }}
-
- steps:
- - uses: actions/checkout@v3
-
- - name: Install libacl-dev (Linux)
- if: runner.os == 'Linux'
- run: |
- export DEBIAN_FRONTEND=noninteractive
- sudo apt-get install -y libacl1-dev
- - uses: r7kamura/rust-problem-matchers@v1.1.0
-
- # 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.14
- pip install patchelf --upgrade
- - name: Publish wheel
- shell: bash
- env:
- MATURIN_PASSWORD: ${{ secrets.PYPI_PASS }}
- run: |
- cd apis/python/node
- maturin publish \
- --skip-existing \
- -o wheels \
- --no-sdist \
- --username __token__ \
|