- workflow fix

This commit is contained in:
w.pomp committed 2026-10-01 19:35:20 +02:00
1 parent 7af9cdb5a3
commit bee80bd34e
2 files changed
+11 -4

No files matched your search

+10 -4
View File
@@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest
env:
CARGO_HOME: ${{ github.workspace }}/.cargo
RUSTUP_HOME: ${{ github.workspace }}/.rustup
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v5
@@ -40,11 +42,11 @@ jobs:
- name: Install Rust
run: |
export PATH="$CARGO_HOME/bin:$PATH"
if ! command -v rustc >/dev/null 2>&1; then
if ! command -v rustup >/dev/null 2>&1; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
else
rustup update
fi
rustup toolchain install stable --profile minimal
rustup default stable
echo "$CARGO_HOME/bin" >> "$GITHUB_PATH"
cargo --version
shell: bash
@@ -78,7 +80,11 @@ jobs:
- name: Build wheels
run: |
export PATH="$HOME/.osxcross/bin:$PATH"
rustup default stable
echo "HOME=$HOME CARGO_HOME=$CARGO_HOME RUSTUP_HOME=$RUSTUP_HOME"
command -v rustup
command -v cargo
rustup show
cargo --version
rm -rf dist
maturin sdist --out dist -m ome-metadata/Cargo.toml