mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
CI: publish packed website artifacts alongside the rest
This commit is contained in:
parent
62414562eb
commit
56328fec16
9
.github/workflows/harness.yml
vendored
9
.github/workflows/harness.yml
vendored
@ -137,6 +137,14 @@ jobs:
|
||||
cd ~/french-law
|
||||
opam --cli=2.1 exec -- make dependencies-ocaml dependencies-js dependencies-python
|
||||
opam --cli=2.1 exec -- make bench_ocaml bench_js bench_python
|
||||
- name: Pack website assets
|
||||
run: >-
|
||||
tar cz -hf website-assets.tar.gz
|
||||
-C ~/catala-examples/_build/default/tutorial_en/ tutorial_en.html
|
||||
-C ~/catala-examples/_build/default/tutoriel_fr/ tutoriel_fr.html
|
||||
-C ~/catala-examples/_build/default/us_tax_code/ us_tax_code.html
|
||||
-C ~/catala-examples/_build/default/allocations_familiales/ Allocations_familiales.html Allocations_familiales_schema.json
|
||||
-C ~/catala-examples/_build/default/aides_logement/ Aides_logement.html Aides_logement_schema.json
|
||||
- name: Gather all artifacts
|
||||
run: |
|
||||
cd
|
||||
@ -148,6 +156,7 @@ jobs:
|
||||
tar cz -hf "artifacts/french-law_ocaml.tar.gz" -C french-law/_build/install/default/lib french-law
|
||||
cp catala-examples/_build/french-law_npm.tar.gz artifacts/
|
||||
cp catala-examples/_build/french_law_python.tar.gz artifacts/
|
||||
mv website-assets.tar.gz artifacts/
|
||||
- name: Upload artifacts
|
||||
continue-on-error: true
|
||||
# Uploading artifacts works but then return failure with:
|
||||
|
Loading…
Reference in New Issue
Block a user