ci: fix devops release issues #1203
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
# Runs documentation related jobs. | |
name: doc | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
# Limits workflow concurrency to only the latest commit in the PR. | |
concurrency: | |
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
doc: | |
name: doc stable on ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Rustup | |
run: rustup update --no-self-update | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | |
- name: Build docs | |
run: make doc |