CI: Fix artifact source dir

This commit is contained in:
Louis Gesbert 2024-01-20 11:47:07 +01:00
parent c336a7bb62
commit 81eb7bf6d2
2 changed files with 8 additions and 6 deletions

View File

@ -50,11 +50,11 @@ jobs:
image: ${{ needs.build.outputs.image }}
options: --user ocaml
steps:
- name: Run tests
run: cd /home/ocaml/catala && opam exec -- make tests
- name: Check promoted files
if: ${{ always() }}
run: cd /home/ocaml/catala && opam exec -- make check-promoted
- name: Run tests
if: ${{ always() }}
run: cd /home/ocaml/catala && opam exec -- make tests
examples:
name: Build examples and generate artifacts
@ -111,7 +111,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Catala examples
path: artifacts/*
path: /home/ocaml/artifacts/*
binaries:
name: Build static binaries

View File

@ -29,7 +29,8 @@
(install
(section bin)
(package catala)
(files (catala_web_interpreter.bc.js as catala_web_interpreter)))
(files
(catala_web_interpreter.bc.js as catala_web_interpreter)))
(executable
(name tests)
@ -39,7 +40,8 @@
(install
(section bin)
(package catala)
(files (catala.bc.js as catala.js)))
(files
(catala.bc.js as catala.js)))
(rule
(target custom_linking.sexp)