Skip to content

Commit

Permalink
Generate Cargo.lock for easy package updates under NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaigalos committed Jan 25, 2022
1 parent 0b65095 commit 6361ba0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ jobs:
use-cross: ${{ matrix.job.use-cross }}
args: --release --target ${{ matrix.job.target }}

- name: Generate Cargo Lockfile for easy package updates under NetBSD
shell: bash
run: |
cargo generate-lockfile
- name: Packaging final binary
shell: bash
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ pack() {
cp README.md "$tempdir/$package_name"
cp LICENSE.md "$tempdir/$package_name"

# Cargo.lock for easy updating NetBSD packages
cp Cargo.lock "$tempdir/$package_name"

# archiving
pushd "$tempdir"
if [ "$OS_NAME" = windows-latest ]; then
Expand Down

0 comments on commit 6361ba0

Please sign in to comment.