Skip to content

Commit

Permalink
fix ci: wrong wheels path
Browse files Browse the repository at this point in the history
  • Loading branch information
crwen committed Nov 21, 2024
1 parent 5cb7e54 commit 2aad898
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name: Release Python

on:
push:
branches:
- main
tags:
- "*"
pull_request:
branches:
- main
paths:
- ".github/workflows/python_release.yml"
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -72,7 +74,7 @@ jobs:
name: Release
environment: release
runs-on: ubuntu-latest
# if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
needs: [windows, macos]
permissions:
# Use to sign the release artifacts
Expand All @@ -86,9 +88,9 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: "bindings/python/wheels-*/*"
subject-path: "wheels-*/*"
- name: Publish to PyPI
# if: "startsWith(github.ref, 'refs/tags/')"
if: "startsWith(github.ref, 'refs/tags/')"
uses: PyO3/maturin-action@v1
with:
command: upload
Expand Down

0 comments on commit 2aad898

Please sign in to comment.