- workflow updates
This commit is contained in:
@@ -92,6 +92,8 @@ jobs:
|
||||
export PATH="$HOME/.cargo/bin:$HOME/.osxcross/bin:$PATH"
|
||||
maturin sdist --out dist
|
||||
|
||||
ls -lhtr dist/
|
||||
|
||||
rustup target add x86_64-unknown-linux-gnu
|
||||
maturin build --release --out dist --target x86_64-unknown-linux-gnu
|
||||
rustup target add aarch64-unknown-linux-gnu
|
||||
@@ -110,6 +112,8 @@ jobs:
|
||||
maturin build --release --out dist --target x86_64-apple-darwin --zig
|
||||
rustup target add aarch64-apple-darwin
|
||||
maturin build --release --out dist --target aarch64-apple-darwin --zig
|
||||
|
||||
ls -lhtr dist/
|
||||
|
||||
- name: Store cache
|
||||
uses: actions/cache/save@v4
|
||||
@@ -123,6 +127,12 @@ jobs:
|
||||
~/.osxcross
|
||||
key: cache-ubuntu-maturin-cross-compile
|
||||
|
||||
- name: Upload wheels
|
||||
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: tiffwrite-2026.5.0.tar.gz
|
||||
path: dist/tiffwrite-2026.5.0.tar.gz
|
||||
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user