Skip to content

convert Path to string for prefix #10

convert Path to string for prefix

convert Path to string for prefix #10

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v2
- uses: taiki-e/install-action@just
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: '3.10'
miniforge-variant: Mambaforge
channels: conda-forge,bioconda
channel-priority: strict
activate-environment: bactopia-py
environment-file: environment.yml
auto-update-conda: true
- name: Install project
run: |
python -m pip install -U pip
just install
- name: Build a binary wheel and a source tarball
run: just build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}