Skip to content

Commit

Permalink
Move env
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Feb 9, 2024
1 parent c311fc4 commit df2385c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create_legacy_checkpoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
description: "Name of the artifact to be created"

jobs:
env:
data_dir: "legacy_checkpoint"
adios4dolfinx_version: "0.7.1"
create-adios-data:
env:
data_dir: "legacy_checkpoint"
adios4dolfinx_version: "0.7.1"
runs-on: "ubuntu-22.04"
container: ghcr.io/fenics/dolfinx/dolfinx:v0.7.3

Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/create_legacy_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ on:
description: "Name of the artifact to be created"

jobs:
env:
data_dir: "legacy"

create-dolfin-data:
env:
data_dir: "legacy"

runs-on: "ubuntu-22.04"
container: ghcr.io/scientificcomputing/fenics:2023-11-15
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Create datasets
run: python3 ./tests/create_legacy_data.py --output-dir=$data_dir
- name: Create datasets
run: python3 ./tests/create_legacy_data.py --output-dir=$data_dir

- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact_name }}_${{ env.data_dir }}
path: ./${{ env.data_dir }}
- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact_name }}_${{ env.data_dir }}
path: ./${{ env.data_dir }}

0 comments on commit df2385c

Please sign in to comment.