Skip to content

Commit b40dd70

Browse files
committed
fixing script
1 parent c409bc9 commit b40dd70

File tree

1 file changed

+14
-58
lines changed

1 file changed

+14
-58
lines changed

.github/workflows/build-everything.yml

Lines changed: 14 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -24,78 +24,34 @@ jobs:
2424
run: gem install kramdown-rfc
2525
- name: Install xml2rfc
2626
run: pip install xml2rfc
27-
- name: Convert to rfc xml
27+
- name: Convert sharedsignals md to xml
2828
run: kramdown-rfc2629 openid-sharedsignals-framework-1_0.md > openid-sharedsignals-framework-1_0.xml
2929
- name: Render HTML
3030
run: xml2rfc openid-sharedsignals-framework-1_0.xml --html -o openid-sharedsignals-framework-1_0.html
3131
- name: Render Text
3232
run: xml2rfc openid-sharedsignals-framework-1_0.xml --text
33-
- name: Upload artifact
34-
uses: actions/upload-artifact@v2
35-
with:
36-
name: output
37-
path: |
38-
openid-sharedsignals-framework-1_0.html
39-
openid-sharedsignals-framework-1_0.xml
40-
41-
build-caep:
42-
43-
runs-on: ubuntu-latest
44-
45-
steps:
46-
- uses: actions/checkout@v3
47-
- name: Set up Ruby
48-
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
49-
with:
50-
ruby-version: '3.1'
51-
- uses: actions/setup-python@v4
52-
with:
53-
python-version: '3.10'
54-
- name: Install kramdown-rfc
55-
run: gem install kramdown-rfc
56-
- name: Install xml2rfc
57-
run: pip install xml2rfc
58-
- name: Convert to rfc xml
33+
- name: Convert caep md to xml
5934
run: kramdown-rfc2629 openid-caep-specification-1_0.md > openid-caep-specification-1_0.xml
60-
- name: Render HTML
35+
- name: Render caep html
6136
run: xml2rfc openid-caep-specification-1_0.xml --html -o openid-caep-specification-1_0.html
62-
- name: Render Text
63-
run: xml2rfc openid-caep-specification-1_0.xml --text
64-
- name: Upload artifact
65-
uses: actions/upload-artifact@v2
66-
with:
67-
name: output
68-
path: |
69-
openid-caep-specification-1_0.html
70-
openid-caep-specification-1_0.xml
71-
72-
build-risc:
73-
74-
runs-on: ubuntu-latest
75-
76-
steps:
77-
- uses: actions/checkout@v3
78-
- name: Set up Ruby
79-
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
80-
with:
81-
ruby-version: '3.1'
82-
- uses: actions/setup-python@v4
83-
with:
84-
python-version: '3.10'
85-
- name: Install xml2rfc
86-
run: pip install xml2rfc
87-
- name: Render HTML
37+
- name: Render caep text
38+
run: xml2rfc openid-caep-specification-1_0.xml --text -o openid-caep-specification-1_0.txt
39+
- name: Render risc html
8840
run: xml2rfc openid-risc-profile-specification-1_0.xml --html -o openid-risc-profile-specification-1_0.html
89-
- name: Render Text
90-
run: xml2rfc openid-risc-profile-specification-1_0.xml --text
41+
-name: Render risc text
42+
run: xml2rfc openid-risc-profile-specification-1_0.xml --text -o openid-risc-profile-specification-1_0.txt
9143
- name: Upload artifact
9244
uses: actions/upload-artifact@v2
9345
with:
9446
name: output
9547
path: |
48+
openid-sharedsignals-framework-1_0.html
49+
openid-sharedsignals-framework-1_0.txt
50+
openid-caep-specification-1_0.html
51+
openid-caep-specification-1_0.txt
9652
openid-risc-profile-specification-1_0.html
97-
openid-risc-profile-specification-1_0.xml
98-
53+
openid-risc-profile-specification-1_0.txt
54+
9955
publish-to-pages:
10056
if: github.ref == 'refs/heads/main'
10157
needs: [build-sharedsignals]

0 commit comments

Comments
 (0)