Skip to content

Commit d74bb33

Browse files
psafontrobhoes
authored andcommitted
github: update workflow to latest xapi and actions
Now opam install is invoked in the same way as in xen-api.git Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
1 parent 41be733 commit d74bb33

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/pull-xapi-data.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout xapi code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
repository: xapi-project/xen-api
1919
path: xapi
@@ -35,13 +35,13 @@ jobs:
3535
with:
3636
dune-cache: true
3737
ocaml-compiler: ${{ steps.dotenv.outputs.ocaml_version_full }}
38-
opam-local-packages: xapi/*.opam
38+
opam-local-packages: xapi/opam/*.opam
3939
opam-repositories: |
4040
xs-opam: ${{ steps.dotenv.outputs.repository }}
4141
4242
- name: Install dependencies
4343
working-directory: xapi
44-
run: opam pin list --short | xargs opam install --deps-only --with-test -v
44+
run: opam install . --deps-only -v
4545

4646
- name: Generate xapi docs
4747
working-directory: xapi
@@ -50,7 +50,7 @@ jobs:
5050
opam exec -- make doc-json
5151
5252
- name: Checkout code
53-
uses: actions/checkout@v3
53+
uses: actions/checkout@v4
5454
with:
5555
path: web
5656

0 commit comments

Comments
 (0)