Skip to content

Commit

Permalink
Update pypi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
adosar committed Oct 2, 2024
1 parent 9b830d4 commit 433e119
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: Build and publish 📦 to PyPI
name: Publish Python 🐍 distribution 📦 to PyPI

on:
push:
branches: [master]
on: push

jobs:
build:
name: Build distribution 📦
if: startsWith(github.ref, 'refs/tags/') # only build on tag pushes
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install pypa/build
Expand Down Expand Up @@ -49,6 +48,8 @@ jobs:
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true

github-release:
name: >-
Expand Down

0 comments on commit 433e119

Please sign in to comment.