Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed Nov 18, 2023
1 parent 4e7befa commit 5f10c6c
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,9 @@ jobs:
uses: codecov/codecov-action@v3
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
name: Release ${{ github.ref_name }}

deploy:

Expand All @@ -74,9 +69,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install build twine cibuildwheel
- name: Build package
run: python -m build
run: |
python -m build --sdist
python -m cibuildwheel --output-dir dist
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down

0 comments on commit 5f10c6c

Please sign in to comment.