Sha256: 8e193f366160c8390596a1ab7507f2b0f7148a1ac82302be832c770b5e3bb93a

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

name: test-concept-generation

on:
  push:
    branches: [ main ]
    tags: [ v* ]
  pull_request:

jobs:
  generate_yaml_concepts:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.1'
          bundler-cache: true

      - name: Check out iso-10303-stepmod-wg12 repo
        uses: actions/checkout@v3
        with:
          repository: metanorma/iso-10303-stepmod-wg12
          token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
          path: iso-10303-stepmod-wg12

      - name: Generate Annotated EXPRESS files
        run: |
          bundle exec stepmod-annotate-all \
            --stepmod-dir ./iso-10303-stepmod-wg12 \
            --output schemas

      - name: Generate Concept YAML files
        working-directory: iso-10303-stepmod-wg12
        run: |
          bundle exec stepmod-extract-concepts \
            -p ./data \
            -i ./repository_index.xml \
            -o ./output-yaml

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stepmod-utils-0.4.6 .github/workflows/test-concept-generation.yml
stepmod-utils-0.4.5 .github/workflows/test-concept-generation.yml
stepmod-utils-0.4.2 .github/workflows/test-concept-generation.yml
stepmod-utils-0.4.1 .github/workflows/test-concept-generation.yml