@@ -30,31 +30,31 @@ jobs:
3030 - name : Checkout
3131 uses : actions/checkout@v3
3232
33- # - name: Setup Python
34- # if: github.event.inputs.do-deploy == 'true'
35- # uses: actions/setup-python@v2
36- # with:
37- # python-version: '3.9.13'
38- #
39- # - name: Install Python module
40- # if: github.event.inputs.do-deploy == 'true'
41- # run: |
42- # python -m pip install --upgrade pip
43- # #linux: pip3 install gh-md-to-html
44- # python -m pip install gh-md-to-html
45- #
46- # - name: Convert md file
47- # if: github.event.inputs.do-deploy == 'true'
48- # run: |
49- # mkdir temp
50- # copy .\README.md temp
51- # cd temp
52- # #linux: gh-md-to-html README.md -c "" -w . --math false --box-width 24.25cm
53- # python -m gh_md_to_html README.md -c . -w . --math false --box-width 24.25cm
54- # move .\README.html ..
55- # move .\images\ ..
56- # cd ..
57- # Remove-Item -LiteralPath "temp" -Force -Recurse
33+ - name : Setup Python
34+ if : github.event.inputs.do-deploy == 'true'
35+ uses : actions/setup-python@v2
36+ with :
37+ python-version : ' 3.9.13'
38+
39+ - name : Install Python module
40+ if : github.event.inputs.do-deploy == 'true'
41+ run : |
42+ python -m pip install --upgrade pip
43+ #linux: pip3 install gh-md-to-html
44+ python3 -m pip install gh-md-to-html
45+
46+ - name : Convert md file
47+ if : github.event.inputs.do-deploy == 'true'
48+ run : |
49+ mkdir temp
50+ copy .\README.md temp
51+ cd temp
52+ #linux: gh-md-to-html README.md -c "" -w . --math false --box-width 24.25cm
53+ python3 -m gh_md_to_html README.md -c "" -w . --math false --box-width 24.25cm
54+ move .\README.html ..
55+ move .\images\ ..
56+ cd ..
57+ Remove-Item -LiteralPath "temp" -Force -Recurse
5858
5959 - name : Setup MSBuild.exe
6060 uses : microsoft/setup-msbuild@v1.1
0 commit comments