File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7272 sudo dpkg -i /tmp/pandoc.deb && pandoc --version | head -1
7373 PUPPETEER_SKIP_DOWNLOAD=true npm install -g @mermaid-js/mermaid-cli@10
7474 TITLE=$(python3 -c "import json;print(json.load(open('book.json')).get('title') or '${{ github.event.repository.name }}')")
75+ TAG=$(echo "${{ steps.tag.outputs.TAG_NAME || 'latest' }}" | sed 's#.*/##') # slash-free (handles non-tag dispatch)
7576 python3 tools/render_mermaid.py --book-dir . --svg-out /tmp/mmsvg
7677 python3 tools/build_mobile_book.py --book-dir . --title "$TITLE" --svg-dir /tmp/mmsvg \
77- --out "${{ github.event.repository.name }}-${{ steps.tag.outputs.TAG_NAME || 'latest' } }-mobile.html"
78+ --out "${{ github.event.repository.name }}-${TAG }-mobile.html"
7879 ls -lh ${{ github.event.repository.name }}-*-mobile.html
7980
8081 - name : Attach mobile HTML to release
You can’t perform that action at this time.
0 commit comments