Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 authored Oct 16, 2024
1 parent 59abe7b commit 9628ed3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,15 @@ jobs:
pip install .
# Extract version (2.4.15 => 2_4_15), ignore the date part
SCHEMA_VERSION=$(echo "${{matrix.schema}}" | cut -d'_' -f2 | cut -d'.' -f1-3 | tr '.' '_')
# Run cimgen with the valid version
cimgen \
--outdir=output/${{matrix.language}} \
--outdir=output/${{matrix.language}}/${{matrix.schema}} \
--schemadir=cgmes_schema/${{matrix.schema}} \
--langdir=${{matrix.language}}
--langdir=${{matrix.language}} \
--cgmes_version=cgmes_v${SCHEMA_VERSION}
- name: Create artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 9628ed3

Please sign in to comment.