Skip to content

Update pypi_token and poetry_version in GitHub Actions workflow #4

Update pypi_token and poetry_version in GitHub Actions workflow

Update pypi_token and poetry_version in GitHub Actions workflow #4

Workflow file for this run

name: Ruff and Publish
on:
push:
branches:
- "**"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Ruff Linter
uses: chartboost/ruff-action@v1
publish:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' # Executes only for pushes to the main branch
needs: lint
steps:
- uses: actions/checkout@v4
- name: Publish Package
uses: JRubics/[email protected]
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
poetry_version: "1.8.7"