Skip to content

Commit

Permalink
ci: build rust binaries with --locked
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyscot committed Dec 26, 2024
1 parent a25bf8b commit 5f0af1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ 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
token: ${{ secrets.GITHUB_TOKEN }}
target: ${{ matrix.target }}
include: README.md,LICENSE,CHANGELOG.md
leading-dir: true
locked: true
tar: unix
zip: windows
dry_run: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ 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
token: ${{ secrets.GITHUB_TOKEN }}
target: ${{ matrix.target }}
include: README.md,LICENSE,CHANGELOG.md
leading-dir: true
locked: true
tar: unix
zip: windows
dry_run: ${{ github.event_name != 'release' }}
Expand Down

0 comments on commit 5f0af1f

Please sign in to comment.