Skip to content

add action to generate python libs #1

add action to generate python libs

add action to generate python libs #1

Workflow file for this run

name: Generate CPACS Libs
on:
push:
branches:
- develop
jobs:
generate-cpacs-lib:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@vv
- name: Set up Python
uses: actions/checkout@v3
uses: actions/setup-python@v4

Check failure on line 18 in .github/workflows/generate_libs.yml

View workflow run for this annotation

GitHub Actions / Generate CPACS Libs

Invalid workflow file

The workflow is not valid. .github/workflows/generate_libs.yml (Line: 18, Col: 9): 'uses' is already defined
with:
python-version: '3.10'
- name: Install generateDS
run: |
pip install generateds
pip install lxml
- name: Generate CPACS Python Classes
run: |
cd schema
generateds -o ../cpacsLib.py -f cpacs_schema.xsd
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: cpacsLib
path: cpacsLib.py