Skip to content

Commit

Permalink
Fix doc action. Skip sdist deploy since we have a compiled extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Jan 2, 2025
1 parent 78124f3 commit 2f6d1f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}

jobs:
build_wheels:
name: Build wheel for cp${{ matrix.python }}-${{ matrix.builder }}_${{ matrix.arch }}
Expand Down Expand Up @@ -115,22 +111,8 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v4
with:
name: flacarray-sdist
path: dist/*.tar.gz

upload_pypi:
needs: [build_wheels, build_sdist]
needs: build_wheels
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ jobs:
mkdocs-material-
- name: Install Dependencies
# AttributeError: 'MathBlockParser' object has no attribute 'parse_axt_heading'
# https://github.com/jupyter/nbconvert/issues/2198
# mistune = "<3.1"
run: |
pip install mkdocs mkdocstrings mkdocstrings-python mkdocs-material mkdocs-material-extensions mkdocs-jupyter
pip install mkdocs mkdocstrings mkdocstrings-python mkdocs-material mkdocs-material-extensions mkdocs-jupyter "mistune<3.1"
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
Expand Down

0 comments on commit 2f6d1f2

Please sign in to comment.