From 56a0972aef48a338c8482aace3c7601688de3e5c Mon Sep 17 00:00:00 2001 From: Robin Nolte Date: Tue, 14 May 2024 15:08:25 +0200 Subject: [PATCH 1/5] Update documentation.yml --- .github/workflows/documentation.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 7c47a250..13f5759a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -3,12 +3,11 @@ on: workflow_dispatch: workflow_run: workflows: ["Evaluation"] - types: + types: - completed jobs: vocabulary: - if: ${{ github.event.workflow_run.conclusion == 'success' }} name: SOMA Vocabulary runs-on: ubuntu-latest defaults: @@ -18,18 +17,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 - + - name: Copy run: | cp ./Makefile ../../ cp ./SOMA-vocabulary.tex ../../ cp ./owl_reader.py ../../ - + - name: Build uses: ./.github/actions/pythonlatex - with: + with: args: make - + - name: Upload uses: actions/upload-artifact@v1 with: @@ -37,7 +36,6 @@ jobs: path: ./SOMA-vocabulary.pdf handbook: - if: ${{ github.event.workflow_run.conclusion == 'success' }} name: NEEM Handbook runs-on: ubuntu-latest From 5b228354afcd746962d77930c36363f91bfaf644 Mon Sep 17 00:00:00 2001 From: Robin Nolte Date: Tue, 14 May 2024 15:13:15 +0200 Subject: [PATCH 2/5] Update owl_reader.py --- docs/vocab/owl_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vocab/owl_reader.py b/docs/vocab/owl_reader.py index 943e5852..b752de9b 100644 --- a/docs/vocab/owl_reader.py +++ b/docs/vocab/owl_reader.py @@ -55,7 +55,7 @@ def _create_class_objects(self): def set_class_info(self, target_class): class_obj = getattr(getattr(self.namespace, target_class) - print(f"Class_obj {class_obj}") + print("Class_obj {}".format(class_obj)) comment = getattr(getattr(self.namespace, target_class), "comment") if(comment): From 59194503d752dfe7f6cc168003bbbc05101433d2 Mon Sep 17 00:00:00 2001 From: Robin Nolte Date: Tue, 14 May 2024 15:18:18 +0200 Subject: [PATCH 3/5] Update owl_reader.py --- docs/vocab/owl_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vocab/owl_reader.py b/docs/vocab/owl_reader.py index b752de9b..81443b3d 100644 --- a/docs/vocab/owl_reader.py +++ b/docs/vocab/owl_reader.py @@ -55,7 +55,7 @@ def _create_class_objects(self): def set_class_info(self, target_class): class_obj = getattr(getattr(self.namespace, target_class) - print("Class_obj {}".format(class_obj)) + print "Class_obj {}".format(class_obj) comment = getattr(getattr(self.namespace, target_class), "comment") if(comment): From e5c5287c11bdef841b1858f034f028058c3037d9 Mon Sep 17 00:00:00 2001 From: Robin Nolte Date: Tue, 14 May 2024 15:36:48 +0200 Subject: [PATCH 4/5] Update owl_reader.py --- docs/vocab/owl_reader.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/vocab/owl_reader.py b/docs/vocab/owl_reader.py index 81443b3d..63e7830d 100644 --- a/docs/vocab/owl_reader.py +++ b/docs/vocab/owl_reader.py @@ -54,9 +54,6 @@ def _create_class_objects(self): return objects def set_class_info(self, target_class): - class_obj = getattr(getattr(self.namespace, target_class) - print "Class_obj {}".format(class_obj) - comment = getattr(getattr(self.namespace, target_class), "comment") if(comment): comment = self.split_comment_into_sentences(comment[0])[0] From 3dc99ab073aa9497db0c8ff0f64097d8778c043f Mon Sep 17 00:00:00 2001 From: mrnolte <31051045+mrnolte@users.noreply.github.com> Date: Tue, 14 May 2024 16:18:24 +0200 Subject: [PATCH 5/5] Update documentation.yml --- .github/workflows/documentation.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 13f5759a..04b18445 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -18,6 +18,15 @@ jobs: - name: Checkout uses: actions/checkout@v1 + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Download OWL file + uses: actions/download-artifact@v2 + with: + name: SOMA-OWL + path: ./build/owl/current/ + - name: Copy run: | cp ./Makefile ../../