Skip to content

Commit

Permalink
Fix: debian patch on release uses wrong path
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsfrei committed May 15, 2023
1 parent 04921fb commit 24bd00c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,16 @@ jobs:
~/.cargo/git/db/
rust/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: sudo apt update && sudo apt-get install -y libpcap-dev
- run: rustup update stable && rustup default stable
- run: cargo install cross
- run: CROSS_CONFIG=Cross.toml cross -v build --release --target aarch64-unknown-linux-gnu
working-directory: rust
- run: CROSS_CONFIG=Cross.toml cross build --release --target x86_64-unknown-linux-gnu
working-directory: rust
- name: "patch for debian stable"
working-directory: rust
run: |
find . -type f -name "nasl-cli"
patchelf --replace-needed libpcap.so.1 libpcap.so.0.8 target/aarch64-unknown-linux-gnu/release/nasl-cli
- run: mkdir assets/
- run: mv rust/target/aarch64-unknown-linux-gnu/release/nasl-cli assets/nasl-cli-aarch64-unknown-linux-gnu
Expand Down

0 comments on commit 24bd00c

Please sign in to comment.