Skip to content

Commit

Permalink
fix(ci): fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alxdrcirilo committed Jun 28, 2024
1 parent 0f41dbd commit 7bc74ac
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: Python package
name: Publish to PyPI

on:
push:
branches:
- main
tags:
- "*.*.*"
- "x"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
- name: Build and publish to PyPI
uses: JRubics/poetry-publish@v2.0
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 7bc74ac

Please sign in to comment.