Skip to content

Commit

Permalink
build: tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mause committed Nov 24, 2024
1 parent 7c941ab commit 2007d70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Publish python package
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
on:
workflow_dispatch:
release:
types: [published]

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

steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down Expand Up @@ -35,7 +37,7 @@ jobs:
needs: build
environment:
name: pypi
url: https://pypi.org/p/duckdb_engine/
url: https://pypi.org/p/duckdb_engine
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
Expand All @@ -44,9 +46,7 @@ jobs:
with:
name: python-package-distributions
path: dist/
- run: ls
- run: ls *
- name: Publish package distributions to PyPI
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

publish-to-testpypi:
Expand Down

0 comments on commit 2007d70

Please sign in to comment.