chore(release): switch to release-plz (#1333)
This commit is contained in:
9
.github/workflows/release_to_pypi.yml
vendored
9
.github/workflows/release_to_pypi.yml
vendored
@@ -1,14 +1,14 @@
|
||||
name: Update PyPi
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
repository_dispatch:
|
||||
types: [ release-created ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
# TODO: make linux/windows/macos/sdist a matrix. See how other workflows do it.
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@@ -21,7 +21,6 @@ jobs:
|
||||
with:
|
||||
target: ${{ matrix.target }}
|
||||
args: --release --out dist
|
||||
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
manylinux: auto
|
||||
- name: Upload wheels
|
||||
uses: actions/upload-artifact@v5.0.0
|
||||
@@ -41,7 +40,6 @@ jobs:
|
||||
with:
|
||||
target: ${{ matrix.target }}
|
||||
args: --release --out dist
|
||||
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
- name: Upload wheels
|
||||
uses: actions/upload-artifact@v5.0.0
|
||||
with:
|
||||
@@ -60,7 +58,6 @@ jobs:
|
||||
with:
|
||||
target: ${{ matrix.target }}
|
||||
args: --release --out dist
|
||||
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
- name: Upload wheels
|
||||
uses: actions/upload-artifact@v5.0.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user