File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build RFC XML
2
+
3
+ on :
4
+ push :
5
+ paths : [IETF-RFC.md]
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+
15
+ # Ruby setup
16
+ - uses : ruby/setup-ruby@v1
17
+ with :
18
+ ruby-version : ' 3.2'
19
+ bundler-cache : false
20
+
21
+ - name : Install kramdown-rfc
22
+ run : gem install --no-document kramdown-rfc
23
+
24
+ - name : Convert Markdown → XML
25
+ run : kramdown-rfc IETF-RFC.md > IETF-RFC.xml
26
+
27
+ # Commit the result back to the repo
28
+ - uses : EndBug/add-and-commit@v9
29
+ with :
30
+ add : IETF-RFC.xml
31
+ message : ' CI: regenerate IETF-RFC.xml'
32
+ author_name : github-actions
33
+
34
+
35
+ - uses : actions/upload-artifact@v4
36
+ with :
37
+ name : rfc-xml
38
+ path : IETF-RFC.xml
You can’t perform that action at this time.
0 commit comments