From bd0fb0016126de18c9bc84cf178b858adc48b56e Mon Sep 17 00:00:00 2001 From: Evgeny Metelkin Date: Thu, 28 Dec 2023 10:18:26 +0200 Subject: [PATCH] update compiler version --- .github/workflows/build-and-share.yml | 27 +++++++++++++-------------- .github/workflows/build.yml | 8 ++++---- CHANGELOG.md | 4 ++++ platform.json | 5 ++--- src/index.heta | 16 ++++++++-------- 5 files changed, 31 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build-and-share.yml b/.github/workflows/build-and-share.yml index dec8452..a7f3713 100644 --- a/.github/workflows/build-and-share.yml +++ b/.github/workflows/build-and-share.yml @@ -16,19 +16,19 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: persist-credentials: false - - name: Use Node.js 10.x - uses: actions/setup-node@v1 + - name: Use Node.js 16.x + uses: actions/setup-node@v3 with: - node-version: 10.x + node-version: 16.x - name: Install and build run: | - npm i -g heta-compiler@latest + npm ci -g heta-compiler@latest heta build - name: Set up R 3.6 - uses: r-lib/actions/setup-r@v1 + uses: r-lib/actions/setup-r@v2 with: r-version: '3.6' - name: Run R code @@ -38,11 +38,10 @@ jobs: - name: Julia install uses: julia-actions/setup-julia@v1 with: - version: '1.6' - arch: x86 + version: '1.9' - name: HetaSimulator install run: | - julia -e 'using Pkg; Pkg.add(path="https://github.com/hetalang/HetaSimulator.jl"); Pkg.add("Plots")' + julia -e 'using Pkg; Pkg.add("HetaSimulator"); Pkg.add("Plots")' pwd julia ./julia/run.jl - name: Copy distributive files to dist directory @@ -56,9 +55,9 @@ jobs: tar -zcf ./dist/mrg.tar.gz -C ./dist/mrg . - name: Deploy to "dist" branch only for "master" and "share" pushes if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/share' ) }} - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@v4 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: dist # The folder the action should deploy. - CLEAN: true + token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages # The branch the action should deploy to. + folder: dist # The folder the action should deploy. + clean: true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0208bc6..74882dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: build: strategy: matrix: - node-version: [ 8.x ] + node-version: [ 16.x ] heta-version: [ latest ] platform: [ ubuntu-latest ] @@ -24,15 +24,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Install and build run: | - npm i -g heta-compiler@${{ matrix.heta-version }} + npm ci -g heta-compiler@${{ matrix.heta-version }} heta -v heta build diff --git a/CHANGELOG.md b/CHANGELOG.md index 60079ea..632c0ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 1.0.2 + +- update compiler version + ## 1.0.1 - add HetaSimulator support diff --git a/platform.json b/platform.json index c88c4fa..a31c87e 100644 --- a/platform.json +++ b/platform.json @@ -3,8 +3,8 @@ "id": "faah-inhibitor", "title": "Model describing inhibition of FAAH in human", "notes": "This is Quantitative Systems Pharmacology (QSP) modeling platform describing Fatty Acid Amide Hydrolase inhibition in human.", - "builderVersion": "^0.6.9", - "version": "1.0.1", + "builderVersion": "^0.7.1", + "version": "1.0.2", "keywords": ["human", "qsp", "faah-inhibitor"], "homepage": "https://insysbio.github.io/faah-inhibitor/", "repository": { @@ -22,7 +22,6 @@ ], "options": { "logLevel": "info", - "debuggingMode": false, "skipExport": false, "unitsCheck": true }, diff --git a/src/index.heta b/src/index.heta index 72d5444..8496cf3 100644 --- a/src/index.heta +++ b/src/index.heta @@ -37,14 +37,14 @@ description @Page { content: " doi:10.1038/psp.2013.72; published online 15 January 2014. " }; -include ./qsp-units.heta - -include ./constants.heta -include ./pk.heta -include ./brain.heta -include ./rob.heta -include ./core.heta -include ./plasma.heta +include ./qsp-units.heta; + +include ./constants.heta; +include ./pk.heta; +include ./brain.heta; +include ./rob.heta; +include ./core.heta; +include ./plasma.heta; // === TRANSPORT === // From MEC to Plasma, Brain to MEC