Skip to content

Commit

Permalink
try putting them together so that cleanup step doesn't delete dist
Browse files Browse the repository at this point in the history
  • Loading branch information
mpound committed Nov 21, 2023
1 parent c3efc97 commit dc41f56
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,8 @@ jobs:
- name: Build with hatch
run: |
hatch build -c
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
needs: build # wait for build to finish in order to publish
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
# retrieve your distributions here

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: upload release to PyPI
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit dc41f56

Please sign in to comment.