Skip to content

Commit 7069a8f

Browse files
authored
Update seed.yml
1 parent 8d5b4a3 commit 7069a8f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/seed.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,14 @@ jobs:
9696
echo "Updated seed-template.yaml content:"
9797
cat "$CONFIG_FILE"
9898
# append the idranges block line by line
99+
ONT_ID_UPPER="${{ github.event.inputs.ontology_id }}"
100+
ONT_ID_UPPER=${ONT_ID_UPPER^^} # bash uppercase
101+
99102
echo "" >> "$CONFIG_FILE"
100103
echo "idranges:" >> "$CONFIG_FILE"
101104
echo " - idsfor: ${{ github.event.inputs.ontology_id }}" >> "$CONFIG_FILE"
102-
echo " idprefix: https://w3id.org/pmd/ao/${{ github.event.inputs.uribase_suffix }}/$\{{ github.event.inputs.ontology_id }}_" >> "$CONFIG_FILE"
105+
echo " idprefix: https://w3id.org/pmd/ao/${{ github.event.inputs.uribase_suffix }}/$ONT_ID_UPPER_" >> "$CONFIG_FILE"
103106
echo " iddigits: 7" >> "$CONFIG_FILE"
104-
105107
echo "Updated $CONFIG_FILE content:"
106108
cat "$CONFIG_FILE"
107109
@@ -165,3 +167,4 @@ jobs:
165167
166168
167169
170+

0 commit comments

Comments
 (0)