Skip to content

Commit 593fe10

Browse files
committed
Update gtrepo.yml
1 parent 9583c7d commit 593fe10

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/gtrepo.yml

+14-8
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ jobs:
4848
run: mkdir ghout
4949

5050

51-
- name: Get SDK Version from config
52-
id: lookupSdkVersion
51+
- name: transform METADATA.yml to METADATA.json
5352
uses: mikefarah/yq@master
5453
with:
5554
cmd: |
@@ -114,9 +113,18 @@ jobs:
114113
mv gt-repo-scripts/scripts scripts/
115114
rm -r gt-repo-scripts
116115
117-
# Installation GT-Labelling Documentation
118-
116+
# Transfer megarules.xml
117+
118+
- name: install megarules.xml
119+
run: |
120+
git clone --branch gh-pages --single-branch https://github.com/OCR-D/gt-MufiLevelRules.git
121+
mv gt-MufiLevelRules/rules/megalevelrules.xml scripts/megalevelrules.xml
122+
rm -r gt-MufiLevelRules
123+
124+
119125
126+
# Installation GT-Labelling Documentation
127+
120128
- name: install labeling
121129
run: |
122130
git clone https://github.com/tboenig/gt-guidelines.git
@@ -153,8 +161,7 @@ jobs:
153161

154162
# Transformation and analyzing
155163

156-
- name: Get SDK Version from config
157-
id: lookupSdkVersion
164+
- name: transform METADATA.yml to METADATA.json
158165
uses: mikefarah/yq@master
159166
with:
160167
cmd: |
@@ -254,7 +261,6 @@ jobs:
254261
shell: bash
255262

256263
- name: formating CITATION.cff
257-
id: lookupSdkVersion2
258264
uses: mikefarah/yq@master
259265
with:
260266
cmd: |
@@ -374,4 +380,4 @@ jobs:
374380
uses: JamesIves/github-pages-deploy-action@v4
375381
with:
376382
branch: gh-pages # The branch the action should deploy to.
377-
folder: ghout # The folder the action should deploy.
383+
folder: ghout # The folder the action should deploy.

0 commit comments

Comments
 (0)