Skip to content

Commit

Permalink
tweaked ci workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
wolearyc committed Aug 5, 2024
1 parent 71ba081 commit 9bc46af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
name: Publish Python distribution to PyPI

on: push

jobs:
build:
name: Build distribution 📦
name: Build distribution
runs-on: ubuntu-latest

steps:
Expand All @@ -29,7 +29,7 @@ jobs:

publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
Expand All @@ -46,12 +46,12 @@ jobs:
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

github-release:
name: >-
Sign the Python 🐍 distribution 📦 with Sigstore
Sign distribution with Sigstore
and upload them to GitHub Release
needs:
- publish-to-pypi
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ name: Test and Lint

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
Expand Down

0 comments on commit 9bc46af

Please sign in to comment.