Bump tqdm from 4.60.0 to 4.66.3 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "release" | |
on: [push] | |
jobs: | |
release: | |
name: "Release package" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [3.7] | |
numpy: [1.15] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "Setup Python" | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: "Setup Conda" | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
channels: conda-forge,bioconda,defaults | |
conda-build-version: "3.21.7" | |
- name: "Install Conda client" | |
run: conda install -c anaconda anaconda-client | |
- name: "Build Conda package" | |
run: | | |
conda build --no-build-id --numpy ${{ matrix.numpy }} --output-folder . . | |
conda convert -p osx-64 linux-64/*.tar.bz2 | |
- name: "Upload Conda package" | |
run: | | |
$CONDA/bin/anaconda -t ${{ secrets.ANACONDA_API_TOKEN }} upload --force -u stracquadaniolab --no-progress linux-64/*.tar.bz2 | |
$CONDA/bin/anaconda -t ${{ secrets.ANACONDA_API_TOKEN }} upload --force -u stracquadaniolab --no-progress osx-64/*.tar.bz2 | |
- name: "Login to GitHub Container Registry" | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GHCR_TOKEN }} | |
- name: "Push Docker image to GitHub Container Registry" | |
uses: docker/build-push-action@v2 | |
with: | |
file: ./docker/Dockerfile | |
push: true | |
tags: ghcr.io/${{ github.repository }}:v0.11.0, ghcr.io/${{ github.repository }}:latest | |
- name: "Install PIP required packages" | |
run: pip install wheel twine | |
- name: "Build PIP package" | |
run: python setup.py sdist bdist_wheel | |
- name: "Publish package on PyPi" | |
run: twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/* |