File tree Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 12
12
- name : Checkout repository
13
13
uses : actions/checkout@v4
14
14
- name : Setup Node.js
15
- uses : actions/setup-node@v3
15
+ uses : actions/setup-node@v4
16
16
with :
17
17
node-version : 20
18
18
cache : yarn
Original file line number Diff line number Diff line change 39
39
40
40
steps :
41
41
- name : Checkout repository
42
- uses : actions/checkout@v2
42
+ uses : actions/checkout@v4
43
43
44
44
# Initializes the CodeQL tools for scanning.
45
45
- name : Initialize CodeQL
Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ jobs:
12
12
deploy :
13
13
runs-on : ubuntu-20.04
14
14
steps :
15
- - uses : actions/checkout@master
15
+ - uses : actions/checkout@v4
16
16
- name : Use Node.js
17
- uses : actions/setup-node@v2-beta
17
+ uses : actions/setup-node@v4
18
18
with :
19
19
node-version : 20
20
+ cache : yarn
20
21
- name : Install pandoc
21
22
run : |
22
23
URL="https://github.com/jgm/pandoc/releases/download/2.14.0.1/pandoc-2.14.0.1-1-amd64.deb"
27
28
run : |
28
29
sudo apt-get update -y
29
30
sudo apt-get install -y texlive texlive-fonts-extra latexmk
30
- - name : Get yarn cache directory path
31
- id : yarn-cache-dir-path
32
- run : echo "::set-output name=dir::$(yarn cache dir)"
33
- - uses : actions/cache@v2
34
- id : yarn-cache
35
- with :
36
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
37
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
38
- restore-keys : |
39
- ${{ runner.os }}-yarn-
40
31
- name : Fetch Yarn dependencies
41
- run : |
42
- yarn install
32
+ run : yarn install
43
33
- name : Build
44
34
run : |
45
35
set -euxo pipefail
52
42
yarn run prepare
53
43
find docs_out -name .gitignore -delete -print
54
44
- name : Deploy
55
- uses : peaceiris/actions-gh-pages@v3
45
+ uses : peaceiris/actions-gh-pages@v4
56
46
with :
57
47
github_token : ${{ secrets.GITHUB_TOKEN }}
58
48
publish_dir : ./docs_out
You can’t perform that action at this time.
0 commit comments