Skip to content

Commit

Permalink
Add python sdist (#50)
Browse files Browse the repository at this point in the history
* include sdist in the python release pipeline

* disable auto release
  • Loading branch information
edgarriba authored Mar 14, 2024
1 parent eda1b2d commit 0036d7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/python_release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Python Release

on:
release:
types: [published]
workflow_dispatch:

env:
Expand Down Expand Up @@ -34,7 +32,8 @@ jobs:
container: ghcr.io/kornia/kornia-rs/release-${{ matrix.target }}:latest
target: ${{ matrix.target }}
manylinux: auto
args: --release --out dist -i python${{ matrix.python-version }} -m py-kornia/Cargo.toml
command: build
args: --release --out dist -i python${{ matrix.python-version }} -m py-kornia/Cargo.toml --sdist
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -64,7 +63,7 @@ jobs:
with:
maturin-version: latest
command: build
args: --target ${{ matrix.target }}-apple-darwin --release --out dist -i python${{ matrix.python-version }} -m py-kornia/Cargo.toml
args: --target ${{ matrix.target }}-apple-darwin --release --out dist -i python${{ matrix.python-version }} -m py-kornia/Cargo.toml --sdist
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -93,7 +92,7 @@ jobs:
with:
maturin-version: latest
command: build
args: --release --out dist -i python${{ matrix.python-version }} -m py-kornia/Cargo.toml
args: --release --out dist -i python${{ matrix.python-version }} -m py-kornia/Cargo.toml --sdist
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/rust_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Rust Release

on:
workflow_dispatch:
release:
types: [published]

jobs:
release:
Expand Down
4 changes: 2 additions & 2 deletions py-kornia/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0036d7c

Please sign in to comment.