Skip to content

add windows npcap (#129) #201

add windows npcap (#129)

add windows npcap (#129) #201

Workflow file for this run

name: "Docs"
on:
push:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libudev-dev
- name: Run docs
run: cargo +nightly doc --no-deps
env:
RUSTDOCFLAGS: --enable-index-page -Zunstable-options
- name: Deploy docs preview to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc