Skip to content

Commit

Permalink
Put code in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl authored Mar 19, 2024
1 parent a874118 commit 05b62a0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,20 @@ jobs:
pypi:
if: github.ref_type == 'tag'
needs: dist
uses: ./.github/workflows/_pypi.yml
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write

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

- name: Publish to PyPI using trusted publishing
uses: pypa/gh-action-pypi-publish@release/v1

release:
if: github.ref_type == 'tag'
Expand Down

0 comments on commit 05b62a0

Please sign in to comment.