1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-25 11:50:17 +02:00

Merge pull request #14 from google/gh-action-cache

Cache the artifacts built by the publish workflow
This commit is contained in:
Martin Geisler 2022-12-22 09:45:16 +01:00 committed by GitHub
commit b424abf704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,18 +30,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Install mdbook
run: cargo install mdbook
- name: Install mdbook-svgbob
run: cargo install mdbook-svgbob
- name: Build book
run: mdbook build
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'book'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1