From 1fdfd0d241ebc317d677ac320dcc313139ed2732 Mon Sep 17 00:00:00 2001 From: Alexander Camuto Date: Tue, 14 Nov 2023 16:58:48 +0000 Subject: [PATCH] fix: gpu releases --- .github/workflows/pypi-gpu.yml | 6 ++++++ .github/workflows/release.yml | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi-gpu.yml b/.github/workflows/pypi-gpu.yml index 91a4e5018..7f72921a4 100644 --- a/.github/workflows/pypi-gpu.yml +++ b/.github/workflows/pypi-gpu.yml @@ -24,6 +24,12 @@ jobs: python-version: 3.7 architecture: x64 + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly-2023-06-27 + override: true + components: rustfmt, clippy + - name: Set Cargo.toml version to match github tag shell: bash env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09fe95baa..ca5ab323d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,11 @@ jobs: RUST_BACKTRACE: 1 PCRE2_SYS_STATIC: 1 steps: + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly-2023-08-24 + override: true + components: rustfmt, clippy - name: Checkout repo uses: actions/checkout@v4 @@ -60,7 +65,9 @@ jobs: mv Cargo.lock Cargo.lock.orig sed "s/0\\.0\\.0/${EZKL_VERSION//v}/" Cargo.lock.orig >Cargo.lock - - name: Use Cross + + + - name: Set Target Dir shell: bash run: | cargo install cross -Z sparse-registry