From 37d4858e95230a1e4f103408d9b0521d27d4b3a8 Mon Sep 17 00:00:00 2001 From: Thomas Oberbichler Date: Sat, 17 Jul 2021 14:19:07 +0200 Subject: [PATCH] Remove --- .github/workflows/publish.yml | 100 ---------------------------------- 1 file changed, 100 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index c2d76bc7..00000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,100 +0,0 @@ -name: Publish - -on: - release: - types: [created] - -jobs: - win_mac: - name: publish (${{ matrix.os }}, ${{ matrix.python-version }}) - - runs-on: ${{ matrix.os }} - - strategy: - max-parallel: 4 - matrix: - os: [windows-latest, macOS-latest] - python-version: [3.6, 3.7, 3.8, 3.9] - - steps: - - uses: actions/checkout@v1 - - name: Set up Python - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - pip install -r requirements.txt - - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - pumpit --tag "${{ github.ref }}" --file setup.py --replace "HYPERJET_VERSION = 'dev'" "HYPERJET_VERSION = '%VERSION%'" - python setup.py bdist_wheel - twine upload dist/*.whl - - linux: - name: publish (ubuntu-latest, ${{ matrix.python-version }}) - - runs-on: ubuntu-latest - - container: - image: oberbichler/manylinux2010_x86_64 - env: - PLAT: manylinux2010_x86_64 - - strategy: - max-parallel: 4 - matrix: - python-version: [3.6, 3.7, 3.8, 3.9] - - steps: - - uses: actions/checkout@v1 - - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - PYTHON_VERSION: ${{ matrix.python-version }} - run: | - if [ "${PYTHON_VERSION}" == "3.5" ]; then PYBIN=/opt/python/cp35-cp35m/bin; fi - if [ "${PYTHON_VERSION}" == "3.6" ]; then PYBIN=/opt/python/cp36-cp36m/bin; fi - if [ "${PYTHON_VERSION}" == "3.7" ]; then PYBIN=/opt/python/cp37-cp37m/bin; fi - if [ "${PYTHON_VERSION}" == "3.8" ]; then PYBIN=/opt/python/cp38-cp38/bin; fi - if [ "${PYTHON_VERSION}" == "3.9" ]; then PYBIN=/opt/python/cp39-cp39/bin; fi - PATH=${PYBIN}:$PATH - pip install --upgrade pip - pip install -r requirements.txt - pumpit --tag "${{ github.ref }}" --file setup.py --replace "HYPERJET_VERSION = 'dev'" "HYPERJET_VERSION = '%VERSION%'" - pip wheel . -w wheelhouse/ - for whl in wheelhouse/hyperjet-*.whl; do - auditwheel repair "$whl" --plat $PLAT -w wheelhouse/ - done - for whl in wheelhouse/hyperjet-*-${PLAT}.whl; do - twine upload "$whl" - done - - source: - name: publish (source) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Set up Python - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - pip install -r requirements.txt - - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - pumpit --tag "${{ github.ref }}" --file setup.py --replace "HYPERJET_VERSION = 'dev'" "HYPERJET_VERSION = '%VERSION%'" - python setup.py sdist - twine upload dist/*