Skip to content

[refactor] make barrier,condvar,semaphore only avaiable with multitas… #1394

[refactor] make barrier,condvar,semaphore only avaiable with multitas…

[refactor] make barrier,condvar,semaphore only avaiable with multitas… #1394

Workflow file for this run

name: Build & Deploy docs
on: [push, pull_request]
env:
rust-toolchain: nightly-2024-05-02
jobs:
doc:
runs-on: ubuntu-latest
strategy:
fail-fast: false
permissions:
contents: write
env:
default-branch: ${{ format('refs/heads/{0}', github.event.repository.default_branch) }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.rust-toolchain }}
- name: Build docs
continue-on-error: ${{ github.ref != env.default-branch && github.event_name != 'pull_request' }}
run: make doc_check_missing
- name: Deploy to Github Pages
if: ${{ github.ref == env.default-branch }}
uses: JamesIves/github-pages-deploy-action@v4
with:
single-commit: true
branch: gh-pages
folder: target/doc