Refactor publish job in GitHub Actions workflow
Removed conditional checks and dependencies in the publish job.
This commit is contained in:
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@@ -10,8 +10,6 @@ jobs:
|
|||||||
build_wheels:
|
build_wheels:
|
||||||
name: Build wheels on ${{ matrix.os }}
|
name: Build wheels on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
# SPEED FIX: Skip on manual dispatch (use artifacts)
|
|
||||||
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@@ -50,9 +48,8 @@ jobs:
|
|||||||
|
|
||||||
publish:
|
publish:
|
||||||
name: Publish to PyPI
|
name: Publish to PyPI
|
||||||
needs: [build_wheels]
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# REMOVED problematic if condition
|
# NO NEEDS, NO IF - INDEPENDENT
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install maturin for upload
|
- name: Install maturin for upload
|
||||||
|
|||||||
Reference in New Issue
Block a user