Skip to content

Commit

Permalink
update release yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NickStefan committed Nov 7, 2023
1 parent 0af3490 commit 1e55ff2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ jobs:
publish-pypi:
name: Publish to pypi
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/events-sdk-python
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Checkout
Expand All @@ -34,7 +36,9 @@ jobs:
run: |
python -m pip install build twine
- name: Release
- name: Build
run: |
python -m build
twine upload dist/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 1e55ff2

Please sign in to comment.