Update wgpu
to 0.19
, glyphon
to 0.5
, softbuffer
to 0.4
, window-clipboard
to 0.4
, and raw-window-handle
to 0.6
#857
Workflow file for this run
This file contains 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: Document | |
on: [push, pull_request] | |
jobs: | |
all: | |
runs-on: ubuntu-20.04 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: nightly-2023-12-11 | |
- uses: actions/checkout@v2 | |
- name: Generate documentation | |
run: | | |
RUSTDOCFLAGS="--cfg docsrs" \ | |
cargo doc --no-deps --all-features \ | |
-p iced_core \ | |
-p iced_highlighter \ | |
-p iced_style \ | |
-p iced_futures \ | |
-p iced_runtime \ | |
-p iced_graphics \ | |
-p iced_wgpu \ | |
-p iced_tiny_skia \ | |
-p iced_renderer \ | |
-p iced_widget \ | |
-p iced_winit \ | |
-p iced | |
- name: Write CNAME file | |
run: echo 'docs.iced.rs' > ./target/doc/CNAME | |
- name: Publish documentation | |
if: github.ref == 'refs/heads/master' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }} | |
external_repository: iced-rs/docs | |
publish_dir: ./target/doc |