Skip to content

Merge pull request #243 from UC-Davis-molecular-computing/dev #30

Merge pull request #243 from UC-Davis-molecular-computing/dev

Merge pull request #243 from UC-Davis-molecular-computing/dev #30

Workflow file for this run

name: "release"
on:
push:
branches:
- "main"
jobs:
release:
name: "Release"
runs-on: ubuntu-20.04
steps:
# ...
- name: "Build & test"
run: |
echo "done!"
- uses: "marvinpinto/action-automatic-releases@v1.2.1"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "current"
prerelease: false
title: "Development Build [TODO: Replace label and number with version number]"
files: |
LICENSE.txt
# Publish to PyPI
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: |
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist
twine upload dist/*