Skip to content

GITHUB ROBOT : Latest VedAstro.DLL built and injected #70

GITHUB ROBOT : Latest VedAstro.DLL built and injected

GITHUB ROBOT : Latest VedAstro.DLL built and injected #70

# workflow automates the Python package publishing process
# to PyPI upon pushes to the main branch or manual triggers,
# incrementing version if needed.
name: Publish to PyPI
on:
push:
branches:
- main
paths-ignore:
- '**.md' # Ignore changes to Markdown files to prevent infinite loop
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
if: github.actor != 'github-actions[bot]' # This line prevents the loop
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install project dependencies
run: poetry install
- name: Build package
run: poetry build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}