Skip to content

Commit

Permalink
install pandoc first
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Aug 31, 2023
1 parent fa02bef commit d654196
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
with:
python-version: '3.10'

- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get install pandoc
- name: Run tests
run: |
pip install .
Expand All @@ -19,11 +24,6 @@ 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

0 comments on commit d654196

Please sign in to comment.