From 82152216b718ec57b44fc90732e12d2bff0d6a5e Mon Sep 17 00:00:00 2001 From: Guillaume Fraux Date: Thu, 11 Jun 2026 18:57:49 +0200 Subject: [PATCH] Follow redirect in curl --- .github/workflows/build-wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index b12d709ee..ae963c52a 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -349,13 +349,13 @@ jobs: - name: setup libtorch run: | - curl --output libtorch.zip ${{ matrix.libtorch-url }} + curl --location --output libtorch.zip ${{ matrix.libtorch-url }} unzip -q libtorch.zip -d $CMAKE_PREFIX_PATH/ mv $CMAKE_PREFIX_PATH/libtorch/* $CMAKE_PREFIX_PATH/ - name: setup libmetatensor run: | - curl -L -O https://github.com/metatensor/metatensor/releases/download/metatensor-core-v0.2.0/metatensor-core-cxx-0.2.0.tar.gz + curl --location -O https://github.com/metatensor/metatensor/releases/download/metatensor-core-v0.2.0/metatensor-core-cxx-0.2.0.tar.gz tar xf metatensor-core-cxx-0.2.0.tar.gz cmake -B build-metatensor -S metatensor-core-cxx-0.2.0 \ -DMETATENSOR_INSTALL_BOTH_STATIC_SHARED=OFF \ @@ -366,7 +366,7 @@ jobs: - name: setup libmetatensor-torch run: | - curl -L -O https://github.com/metatensor/metatensor/releases/download/metatensor-torch-v0.9.0/metatensor-torch-cxx-0.9.0.tar.gz + curl --location -O https://github.com/metatensor/metatensor/releases/download/metatensor-torch-v0.9.0/metatensor-torch-cxx-0.9.0.tar.gz tar xf metatensor-torch-cxx-0.9.0.tar.gz cmake -B build-metatensor-torch -S metatensor-torch-cxx-0.9.0 \ -DCMAKE_INSTALL_PREFIX=$CMAKE_PREFIX_PATH \