Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/rfc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
ruby-version: '3.2'
bundler-cache: false

- name: Install kramdown-rfc
run: gem install --no-document kramdown-rfc
- name: Install RFC tools
run: |
gem install --no-document kramdown-rfc
pip install xml2rfc

- name: Bump I-D version for the selected Drafts
env:
Expand All @@ -51,8 +53,11 @@ jobs:
id: convert
run: |
for doc in IETF-*.md; do
echo ${doc}: >> /tmp/result
echo Converting ${doc} to XML: >> /tmp/result
kramdown-rfc ${doc} > ${doc/md/xml} 2>> /tmp/result || true
echo Validating ${doc/md/xml} for RFC generation: >> /tmp/result
xml2rfc ${doc/md/xml} >> /tmp/result
rm -rf ${doc/md/txt}
done
cat /tmp/result
echo "result<<EOF" >> $GITHUB_OUTPUT
Expand Down
Loading