Skip to content

Commit

Permalink
Update wheel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Apr 30, 2024
1 parent 7659ec5 commit fa48ee5
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@ name: Wheel and SDist

on:
workflow_dispatch:
push:
branches:
- master
pull_request:
release:
types:
- published
- published

jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: hynek/build-and-inspect-python-package@v2
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2

publish:
needs: [dist]
Expand All @@ -24,9 +27,9 @@ jobs:
id-token: write

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

- uses: pypa/gh-action-pypi-publish@release/v1
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit fa48ee5

Please sign in to comment.