Build binaries locked

This commit is contained in:
bytedream 2024-05-03 20:51:31 +02:00
parent dcbe433a9c
commit 4066b8511c
2 changed files with 14 additions and 5 deletions

View file

@ -41,7 +41,7 @@ jobs:
run: cargo install --force cross
- name: Build
run: cross build --release --no-default-features --features openssl-tls-static --target ${{ matrix.toolchain }}
run: cross build --locked --release --no-default-features --features openssl-tls-static --target ${{ matrix.toolchain }}
- name: Upload binary artifact
uses: actions/upload-artifact@v4
@ -101,7 +101,7 @@ jobs:
toolchain: stable
- name: Build
run: cargo build --release --target ${{ matrix.toolchain }}
run: cargo build --locked --release --target ${{ matrix.toolchain }}
- name: Upload binary artifact
uses: actions/upload-artifact@v4
@ -135,7 +135,7 @@ jobs:
- name: Build
shell: msys2 {0}
run: cargo build --release --target x86_64-pc-windows-gnu
run: cargo build --locked --release --target x86_64-pc-windows-gnu
- name: Upload binary artifact
uses: actions/upload-artifact@v4