Skip to content

0.3.0

0.3.0 #8

Workflow file for this run

name: Publish
on:
workflow_dispatch: {}
release:
types:
- created
env:
PYTHON_VERSION: 3.9
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build Package
env:
GROUPED_QUERY_ATTENTION_PYTORCH_VERSION: ${{ github.event.release.tag_name }}
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
verify-metadata: false