diff --git a/.github/workflows/contrib.yml b/.github/workflows/contrib.yml index 4c0a36e3374..b266074a044 100644 --- a/.github/workflows/contrib.yml +++ b/.github/workflows/contrib.yml @@ -15,7 +15,7 @@ jobs: run: | mkdir mdbook curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.3/mdbook-v0.4.3-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook - echo ::add-path::`pwd`/mdbook + echo `pwd`/mdbook >> $GITHUB_PATH - name: Deploy docs run: | cd src/doc/contrib diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6926d798eb..9ab148bf9f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,7 +97,7 @@ jobs: - run: | mkdir mdbook curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook - echo ::add-path::`pwd`/mdbook + echo `pwd`/mdbook >> $GITHUB_PATH - run: cargo doc --no-deps - run: cd src/doc && mdbook build --dest-dir ../../target/doc - run: |