From 81eb7bf6d248d192f95d572f192c69888f1a9d29 Mon Sep 17 00:00:00 2001 From: Louis Gesbert Date: Sat, 20 Jan 2024 11:47:07 +0100 Subject: [PATCH] CI: Fix artifact source dir --- .github/workflows/harness.yml | 8 ++++---- compiler/dune | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml index be3d2f13..2fbbd0d7 100644 --- a/.github/workflows/harness.yml +++ b/.github/workflows/harness.yml @@ -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 diff --git a/compiler/dune b/compiler/dune index d93dd8fc..8c05084e 100644 --- a/compiler/dune +++ b/compiler/dune @@ -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)