Skip to content

Commit

Permalink
install pandoc in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Aug 31, 2023
1 parent 61823a2 commit fa02bef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python -m build --sdist --wheel --outdir dist/ .

- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get install pandoc
- name: Deploy to PyPI
if: ${{ github.ref == 'refs/heads/main' }}
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
if __import__("os").name == "nt":
raise RuntimeError("style50 does not support Windows directly. Instead, you should install the Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and then install style50 within that.")

from setuptools import find_packages, setup
import setuptools
from setuptools import setup

# Convert markdown README.md to reStructuredText .rst
try:
Expand Down

0 comments on commit fa02bef

Please sign in to comment.