File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,18 +2,14 @@ name: CI
22
33on :
44 push :
5- branches : [ staging, trying, master ]
65 pull_request :
76
87jobs :
98 build :
10- runs-on : ubuntu-20.04
9+ runs-on : ubuntu-latest
1110 steps :
12- - uses : actions/checkout@v2
13- - uses : actions-rs/toolchain@v1
14- with :
15- profile : minimal
16- toolchain : stable
11+ - uses : actions/checkout@v4
12+ - uses : dtolnay/rust-toolchain@stable
1713
1814 - name : Install Python dependencies
1915 run : |
@@ -22,17 +18,14 @@ jobs:
2218 run : echo "~/.local/bin" >> $GITHUB_PATH
2319
2420 - name : Cache Cargo installed binaries
25- uses : actions/cache@v1
21+ uses : actions/cache@v4
2622 id : cache-cargo
2723 with :
2824 path : ~/cargo-bin
2925 key : cache-cargo
3026 - name : Install mdbook
3127 if : steps.cache-cargo.outputs.cache-hit != 'true'
32- uses :
actions-rs/[email protected] 33- with :
34- crate : mdbook
35- version : latest
28+ run : cargo install mdbook
3629 - name : Copy mdbook to cache directory
3730 if : steps.cache-cargo.outputs.cache-hit != 'true'
3831 run : |
4841
4942 - name : Deploy book
5043 if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
51- uses : peaceiris/actions-gh-pages@v3
44+ uses : peaceiris/actions-gh-pages@v4
5245 with :
5346 github_token : ${{ secrets.GITHUB_TOKEN }}
5447 publish_dir : public
You can’t perform that action at this time.
0 commit comments