From 2ef2b770d2a06472ba6377f1a69422cd35b883cb Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 29 Aug 2023 09:37:07 +0200 Subject: [PATCH] Remove ros2-bridge Python release script It's now bundled with the main dora library, so there's no need to release it separately. --- .../.github/workflows/pip-release.yml | 146 ------------------ 1 file changed, 146 deletions(-) delete mode 100644 libraries/extensions/ros2-bridge/.github/workflows/pip-release.yml diff --git a/libraries/extensions/ros2-bridge/.github/workflows/pip-release.yml b/libraries/extensions/ros2-bridge/.github/workflows/pip-release.yml deleted file mode 100644 index 125dc725..00000000 --- a/libraries/extensions/ros2-bridge/.github/workflows/pip-release.yml +++ /dev/null @@ -1,146 +0,0 @@ -# This file has been originally generated by maturin v0.14.17 -# To update, you can check -# -# maturin generate-ci github --zig -# -# But note that some manual modification has been done. -# Check the diffs to make sure that you haven't broken anything. - -name: pip-release - -on: - release: - types: - - "published" - -permissions: - contents: write - -jobs: - linux: - runs-on: ubuntu-latest - strategy: - matrix: - target: [x86_64, x86, aarch64] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: "3.7" - - name: Install dependencies - run: | - pip install patchelf --upgrade - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.target }} - args: --release --out dist --zig - sccache: "true" - manylinux: auto - working-directory: python - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: python/dist - - name: Upload to release - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: python/dist/* - tag: ${{ github.ref }} - file_glob: true - - windows: - runs-on: windows-latest - strategy: - matrix: - target: [x64, x86] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: "3.7" - architecture: ${{ matrix.target }} - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.target }} - args: --release --out dist - sccache: "true" - working-directory: python - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: python/dist - - name: Upload to release - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: python/dist/* - tag: ${{ github.ref }} - file_glob: true - - macos: - runs-on: macos-latest - strategy: - matrix: - target: [x86_64, aarch64] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: "3.7" - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.target }} - args: --release --out dist - sccache: "true" - working-directory: python - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: python/dist - - name: Upload to release - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: python/dist/* - tag: ${{ github.ref }} - file_glob: true - - sdist: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Build sdist - uses: PyO3/maturin-action@v1 - with: - command: sdist - args: --out dist - working-directory: python - - name: Upload sdist - uses: actions/upload-artifact@v3 - with: - name: wheels - path: python/dist - - release: - name: Release - runs-on: ubuntu-latest - if: "startsWith(github.ref, 'refs/tags/')" - needs: [linux, windows, macos, sdist] - steps: - - uses: actions/download-artifact@v3 - with: - name: wheels - - name: Publish to PyPI - uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_PASS }} - with: - command: upload - args: --skip-existing *