Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions .github/workflows/publish-test.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Test Publish to Test PyPI

on:
workflow_dispatch:
workflow_dispatch:

jobs:
publish-test:
build:
runs-on: ubuntu-latest

steps:
Expand All @@ -23,6 +23,25 @@ jobs:
pip install --upgrade build
python -m build

- name: Upload dist artifacts
uses: actions/upload-artifact@v4
with:
name: python-dist
path: dist/*

publish:
runs-on: ubuntu-latest
needs: build
permissions:
id-token: write

steps:
- name: Download dist artifacts
uses: actions/download-artifact@v4
with:
name: python-dist
path: dist

- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down