ci: only 1 version needed for release [skip ci]

This commit is contained in:
Anand Balakrishnan 2023-10-06 00:54:33 -07:00
parent 1ea0faf327
commit 16ec443758
No known key found for this signature in database
2 changed files with 9 additions and 12 deletions

View file

@ -41,7 +41,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('Cargo.lock') }}
key: ${{ runner.os }}-${{ matrix.target }}-py${{ matrix.python-version }}-cargo-${{ hashFiles('Cargo.lock') }}
- name: Build
shell: bash -el {0}
run: cargo build --release
@ -85,7 +85,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('Cargo.lock') }}
key: ${{ runner.os }}-${{ matrix.target }}-py${{ matrix.python-version }}-cargo-${{ hashFiles('Cargo.lock') }}
- name: Build
shell: pwsh
run: cargo build --release
@ -130,7 +130,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-${{ matrix.target }}-cargo-${{ hashFiles('Cargo.lock') }}
key: ${{ runner.os }}-${{ matrix.target }}-py${{ matrix.python-version }}-cargo-${{ hashFiles('Cargo.lock') }}
- name: Build
shell: bash -el {0}
run: cargo build --release