Fix publish env var. #19
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: CI | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Verify mdbook-spec lockfile is current | |
working-directory: ./mdbook-spec | |
run: cargo update -p mdbook-spec --locked | |
- name: Test mdbook-spec | |
working-directory: ./mdbook-spec | |
run: cargo test | |
- name: Rustfmt check | |
working-directory: ./mdbook-spec | |
run: cargo fmt --check | |
- name: Install mdbook | |
run: | | |
mkdir bin | |
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin | |
echo "$(pwd)/bin" >> $GITHUB_PATH | |
- name: Verify the book builds | |
env: | |
SPEC_DENY_WARNINGS: 1 | |
run: mdbook build |