Skip to content

Commit

Permalink
update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Mar 4, 2024
1 parent 8a18609 commit 56ff8ed
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
release:
if: github.repository == 'jmoralez/window_ops'
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Clone repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand All @@ -29,7 +31,4 @@ jobs:
run: python -m build -sw

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_token }}
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 56ff8ed

Please sign in to comment.