diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 55c1681..a43d042 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ on: jobs: release-build: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' && !startsWith(${{ github.event.ref_name }}, "doc/") }} + if: ${{ github.event.workflow_run.conclusion == 'success' && !startsWith(github.ref_name, 'docs?/') }} steps: - uses: actions/checkout@v7 - uses: actions/setup-python@v7 @@ -32,7 +32,8 @@ jobs: - name: Upload distributions uses: actions/upload-artifact@v4 with: - name: release-dists + # Name of the distribution (no idea why they don't make this clear) + name: pywebpush path: dist/ pypi-publish: @@ -56,7 +57,8 @@ jobs: - name: Retrieve release distributions uses: actions/download-artifact@v8 with: - name: release-dists + # Name of the distribution (no idea why they don't make this clear) + name: pywebpush path: dist/ - name: validate build run: |