From 5f0af1fba0e5cbb27a143908610c6e3361670c2b Mon Sep 17 00:00:00 2001 From: Ross Younger Date: Tue, 24 Dec 2024 21:55:24 +1300 Subject: [PATCH] ci: build rust binaries with --locked --- .github/workflows/ci.yml | 3 ++- .github/workflows/release.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b7c764..34208e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: #- name: Build # run: cross build --release --locked --target ${{ matrix.target }} - - uses: taiki-e/upload-rust-binary-action@v1.22.1 + - uses: taiki-e/upload-rust-binary-action@v1.24.0 id: build with: bin: qcp @@ -66,6 +66,7 @@ jobs: target: ${{ matrix.target }} include: README.md,LICENSE,CHANGELOG.md leading-dir: true + locked: true tar: unix zip: windows dry_run: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2379eb8..e2310be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: #- name: Build # run: cross build --release --locked --target ${{ matrix.target }} - - uses: taiki-e/upload-rust-binary-action@v1.22.1 + - uses: taiki-e/upload-rust-binary-action@v1.24.0 id: build with: bin: qcp @@ -57,6 +57,7 @@ jobs: target: ${{ matrix.target }} include: README.md,LICENSE,CHANGELOG.md leading-dir: true + locked: true tar: unix zip: windows dry_run: ${{ github.event_name != 'release' }}