File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : publish
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build-sharedsignals :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v3
16+ - name : Set up Ruby
17+ uses : ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
18+ with :
19+ ruby-version : ' 3.1'
20+ - uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.10'
23+ - name : Install kramdown-rfc
24+ run : gem install kramdown-rfc
25+ - name : Install xml2rfc
26+ run : pip install xml2rfc
27+ - name : Convert sharedsignals md to xml
28+ run : kramdown-rfc2629 openid-sharedsignals-framework-1_0.md > openid-sharedsignals-framework-1_0.xml
29+ - name : Render HTML
30+ run : xml2rfc openid-sharedsignals-framework-1_0.xml --html -o openid-sharedsignals-framework-1_0.html
31+ - name : Render Text
32+ run : xml2rfc openid-sharedsignals-framework-1_0.xml --text
33+ - name : Render risc html
34+ run : xml2rfc openid-risc-profile-specification-1_0.xml --html -o openid-risc-profile-specification-1_0.html
35+ - name : Render risc text
36+ run : xml2rfc openid-risc-profile-specification-1_0.xml --text -o openid-risc-profile-specification-1_0.txt
37+ - name : Upload artifact
38+ uses : actions/upload-artifact@v2
39+ with :
40+ name : output
41+ path : |
42+ openid-sharedsignals-framework-1_0.html
43+ openid-sharedsignals-framework-1_0.txt
44+ openid-caep-specification-1_0.html
45+ openid-caep-specification-1_0.txt
46+ openid-risc-profile-specification-1_0.html
47+ openid-risc-profile-specification-1_0.txt
You can’t perform that action at this time.
0 commit comments