refactor!: add configurable service for LAN matchmaking and fix bug when stopping hosting. #1364
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 🗒 Documentation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| jobs: | |
| book: | |
| name: 🔨 Build Docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ⬇ ️Checkout Source | |
| uses: actions/checkout@v2 | |
| - name: 🧰 Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y -q \ | |
| libasound2-dev \ | |
| libudev-dev | |
| - name: 📖 Install mdbook | |
| uses: peaceiris/actions-mdbook@v1 | |
| with: | |
| mdbook-version: "0.4.22" | |
| - uses: actions/cache@v3 | |
| name: ♻️ Cache Cargo | |
| with: | |
| path: | | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| target/ | |
| web-target/ | |
| key: docs-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| docs- | |
| - name: 🔨 Build Rustdoc | |
| run: | | |
| cargo doc --workspace --no-deps | |
| rm -rf target/doc-dist | |
| mkdir -p target/doc-dist | |
| mv target/doc target/doc-dist/rustdoc | |
| - name: 🚀 Deploy | |
| uses: JamesIves/[email protected] | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| with: | |
| branch: gh-pages | |
| folder: target/doc-dist |