Skip to content

Merge pull request #8 from PSNAppz/1.0 #1

Merge pull request #8 from PSNAppz/1.0

Merge pull request #8 from PSNAppz/1.0 #1

name: SR BG Tasks Beat Producers Tag Workflow
on:
push:
tags:
- "*"
branches-ignore:
- '*'
workflow_dispatch:
jobs:
publish-to-pypi:
name: Publish to PyPI For Beat Producers Tag
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/checkout@v3
- name: Install build dependencies
run: pip install build
- name: Build distribution
run: python -m build ./openg2p-sr-celery-beat-producers
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: ./openg2p-sr-celery-beat-producers/dist/