Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- master
tags:
- v*
workflow_dispatch:

env:
RUST_VERSION: 1.86.0

jobs:
deploy:
Expand All @@ -14,15 +18,16 @@ jobs:
- uses: actions/checkout@v3

- uses: Swatinem/rust-cache@v1
- uses: actions-rs/toolchain@v1

- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: stable
toolchain: ${{ env.RUST_VERSION }}
targets: wasm32-unknown-unknown

- name: Install Forc
uses: actions-rs/cargo@v1
with:
command: install
args: --locked --debug --path ./forc
run: cargo install --locked --debug --path ./forc

- name: Install Forc plugins
run: |
cargo install --locked --debug --path ./forc-plugins/forc-client
Expand All @@ -35,11 +40,9 @@ jobs:
cargo install --locked --debug --path ./forc-plugins/forc-migrate
cargo install --locked --debug --path ./forc-plugins/forc-node
cargo install --locked --debug --path ./forc-plugins/forc-publish

- name: Install mdbook-forc-documenter
uses: actions-rs/cargo@v1
with:
command: install
args: --locked --debug --path ./scripts/mdbook-forc-documenter
run: cargo install --locked --debug --path ./scripts/mdbook-forc-documenter

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
Expand Down
Loading