Skip to content

Fix install on macos #3

Fix install on macos

Fix install on macos #3

name: Publish meteor
on:
release:
types: [created]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: user/app:latest
- name: Update repo description
uses: aghozlane/meteor
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
repository: user/app
build_conda:
runs-on: ubuntu-latest
steps:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge,bioconda,aghozlane,defaults
- name: Login to Anaconda
run: anaconda login --hostname ${{ secrets.DOCKER_HOST }} --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_PASS }}
- name: Build Conda package
run: conda build conda_recipe
- name: Logout from Anaconda
run: anaconda logout
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v4
# see details (matrix, python-version, python-version-file, etc.)
# https://github.com/actions/setup-python
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Build and publish to PyPI
run: |
poetry build -C meteor
poetry publish -C meteor -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASS }}