Skip to content
name: Generate adios4dolfinx legacy data

Check failure on line 1 in .github/workflows/create_legacy_checkpoint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create_legacy_checkpoint.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: env
on:
workflow_call:
inputs:
artifact_name:
type: string
required: true
description: "Name of the artifact to be created"
jobs:
env:
data_dir: "legacy_checkpoint"
adios4dolfinx_version: "0.7.1"
create-adios-data:
runs-on: "ubuntu-22.04"
container: ghcr.io/fenics/dolfinx/dolfinx:v0.7.3
steps:
- uses: actions/checkout@v4
- name: Install legacy version of adios4dolfinx
run: python3 -m pip install adios4dolfinx==${adios4dolfinx_version}
- name: Create datasets
run: python3 ./tests/create_legacy_checkpoint.py --output-dir=$data_dir
- uses: actions/upload-artifact@v4
with:
name: ${{inputs.artifact_name}_${{ env.data_dir }}
path: ./${{ env.data_dir }}