Skip to content

Merge pull request #56 from AllenNeuralDynamics/dev/wait_on_axis #12

Merge pull request #56 from AllenNeuralDynamics/dev/wait_on_axis

Merge pull request #56 from AllenNeuralDynamics/dev/wait_on_axis #12

Workflow file for this run

name: Tag and publish
on:
push:
branches:
- main
jobs:
tag:
uses: AllenNeuralDynamics/aind-github-actions/.github/workflows/tag.yml@main
secrets:
SERVICE_TOKEN: ${{ secrets.SERVICE_TOKEN }}
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Pull latest changes
run: git pull origin main
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install --upgrade setuptools wheel twine build
python -m build
twine check dist/*
- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@release/v1.5
with:
password: ${{ secrets.AIND_PYPI_TOKEN }}