1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
name: Generate data from Legacy DOLFIN
on:
workflow_call:
inputs:
artifact_name:
type: string
required: true
description: "Name of the artifact to be created"
jobs:
create-dolfin-data:
env:
data_dir: "legacy"
runs-on: "ubuntu-latest"
container: ghcr.io/scientificcomputing/fenics:2024-02-19
steps:
- uses: actions/checkout@v6
- name: Create datasets
run: python3 ./tests/create_legacy_data.py --output-dir=$data_dir
- uses: actions/upload-artifact@v6
with:
name: ${{ inputs.artifact_name }}
path: ./${{ env.data_dir }}
|