@@ -72,15 +72,14 @@ jobs:
7272 git config --global core.ignorecase false
7373
7474 - name : Checkout code
75- uses : actions/checkout@v3
75+ uses : actions/checkout@v4
7676
77- - name : Use Node.js 16.x
78- uses : actions/setup-node@v3
77+ - name : Set-up Node.js
78+ uses : actions/setup-node@v4
7979 with :
80- node-version : 16.x
80+ node-version : lts/*
8181
82-
83- - name : Use OCaml ${{ matrix.ocaml-compiler }}
82+ - name : Set-up OCaml ${{ matrix.ocaml-compiler }}
8483 if : runner.os == 'Windows'
8584 uses : ocaml/setup-ocaml@v2
8685 with :
9392 opam-depext : ${{ !matrix.skip-test }}
9493 opam-depext-flags : --with-test
9594
96- - name : Use OCaml ${{ matrix.ocaml-compiler }}
95+ - name : Set-up OCaml ${{ matrix.ocaml-compiler }}
9796 if : runner.os != 'Windows'
9897 uses : ocaml/setup-ocaml@v2
9998 with :
@@ -121,13 +120,13 @@ jobs:
121120 if : ${{ !matrix.skip-test }}
122121
123122 - name : build doc
124- if : ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref == 'refs/heads/ master'}}
123+ if : ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref_name == 'master'}}
125124 run : |
126125 opam install odoc lwt_log cohttp-lwt-unix yojson ocp-indent graphics higlo
127126 opam exec -- make doc
128127
129128 - name : synchronize doc
130- if : ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref == 'refs/heads/ master' }}
129+ if : ${{ !matrix.skip-doc && github.event_name == 'push' && github.ref_name == 'master' }}
131130 uses : JamesIves/github-pages-deploy-action@v4
132131 with :
133132 branch : wikidoc
@@ -139,9 +138,9 @@ jobs:
139138 runs-on : ubuntu-latest
140139 steps :
141140 - name : Checkout code
142- uses : actions/checkout@v3
141+ uses : actions/checkout@v4
143142
144- - name : Use OCaml 4.14.x
143+ - name : Set-up OCaml 4.14.x
145144 uses : ocaml/setup-ocaml@v2
146145 with :
147146 ocaml-compiler : 4.14.x
0 commit comments