From 41dba00ff48325bd450dc79ca1e8d6bc68ca3788 Mon Sep 17 00:00:00 2001 From: Evgeny Metelkin Date: Wed, 25 Sep 2024 12:08:43 +0300 Subject: [PATCH] heta-compiler 0.9.0 --- .github/workflows/convert-to-heta.yml | 11 ++++++----- bash/l2v5-index.heta | 2 -- bash/l3v2-index.heta | 3 --- bash/make-summary.sh | 4 ++-- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/convert-to-heta.yml b/.github/workflows/convert-to-heta.yml index cdd014aa7..9707ec377 100644 --- a/.github/workflows/convert-to-heta.yml +++ b/.github/workflows/convert-to-heta.yml @@ -17,15 +17,16 @@ jobs: with: persist-credentials: false - - name: Install Node.js 18 - uses: actions/setup-node@v3 + - name: Install Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - - name: Installations of heta-compiler from repository + - name: Installations of heta-compiler run: | npm ci - npm i hetalang/heta-compiler +# npm i hetalang/heta-compiler + npm i heta-compiler npx heta -v - name: Download semantic cases of version 3.4.0 diff --git a/bash/l2v5-index.heta b/bash/l2v5-index.heta index 867b345ba..e2b65cb5c 100644 --- a/bash/l2v5-index.heta +++ b/bash/l2v5-index.heta @@ -6,5 +6,3 @@ #include { source: ../model-sbml-l2v5.xml, type: sbml }; -#export { format: HetaCode }; -#export { format: JSON }; diff --git a/bash/l3v2-index.heta b/bash/l3v2-index.heta index 3d9cf9e7c..347d60d07 100644 --- a/bash/l3v2-index.heta +++ b/bash/l3v2-index.heta @@ -1,4 +1 @@ #include { source: ../model-sbml-l3v2.xml, type: sbml }; - -#export { format: HetaCode }; -#export { format: JSON }; diff --git a/bash/make-summary.sh b/bash/make-summary.sh index 5e3f11e42..67978eb28 100644 --- a/bash/make-summary.sh +++ b/bash/make-summary.sh @@ -42,7 +42,7 @@ for dir in $dirs; do echo "$dir has no SBML L2V5 file" l2v5RetCode=9 else - npx heta build --skip-updates --dist-dir . --log-mode error $base_dir/cases/$dir/l2v5 > /dev/null 2>&1 + npx heta build --export HetaCode,JSON --skip-updates --dist-dir . --log-mode error $base_dir/cases/$dir/l2v5 > /dev/null 2>&1 l2v5RetCode=$(echo $?) fi cp cases/semantic/$dir/$dir-sbml-l3v2.xml $base_dir/cases/$dir/model-sbml-l3v2.xml > /dev/null 2>&1 @@ -50,7 +50,7 @@ for dir in $dirs; do echo "$dir has no SBML L3V2 file" l3v2RetCode=9 else - npx heta build --skip-updates --dist-dir . --log-mode error $base_dir/cases/$dir/l3v2 > /dev/null 2>&1 + npx heta build --export HetaCode,JSON --skip-updates --dist-dir . --log-mode error $base_dir/cases/$dir/l3v2 > /dev/null 2>&1 l3v2RetCode=$(echo $?) fi