Debian Codegraph @

.github/workflows/create_legacy_data.yml

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