Skip to content

heta-compiler 0.9.0 #43

heta-compiler 0.9.0

heta-compiler 0.9.0 #43

name: convert to L2V5
on:
workflow_dispatch: {}
push:
branches: [ master, '*-result' ]
repository_dispatch:
types: [ push, webhook ]
jobs:
main-job:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20

Check failure on line 24 in .github/workflows/convert-to-heta.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/convert-to-heta.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
- name: Installations of heta-compiler
run: |
npm ci
# npm i hetalang/heta-compiler
npm i heta-compiler
npx heta -v
- name: Download semantic cases of version 3.4.0
run: |
mkdir -p cases
curl -L -o cases/semantic_tests.zip https://github.com/sbmlteam/sbml-test-suite/releases/download/3.4.0/semantic_tests.v3.4.0.zip
unzip cases/semantic_tests.zip -d cases/
- name: Create file structure
run: |
bash ./bash/make-summary.sh
- name: Create collection of heta files with comments as synopsis
run: |
BASE_DIR=./result/latest node ./js/convert-to-heta.js
- name: copy static
run: |
cp -r static/* result/
- name: Commit changes to result branch
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: result # The branch the action should deploy to.
FOLDER: result # The folder the action should deploy.
CLEAN: true