Skip to content

build(deps): bump tokio from 1.39.3 to 1.40.0 #239

build(deps): bump tokio from 1.39.3 to 1.40.0

build(deps): bump tokio from 1.39.3 to 1.40.0 #239

Workflow file for this run

name: docs
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- env:
RUSTFLAGS: --cfg docsrs
RUSTDOCFLAGS: --cfg docsrs
run: cargo doc --package oo7 --features "unstable" --no-deps
- name: Fix permissions
run: |
chmod -c -R +rX "target/doc/" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./target/doc/
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4