Skip to content

Commit

Permalink
Update actions packages (#314)
Browse files Browse the repository at this point in the history
Update actions configurations
  • Loading branch information
kyamagu committed May 16, 2022
1 parent 4ff1983 commit b620130
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]
release:
types: [published]

Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
uses: docker/setup-qemu-action@v1

- name: Build wheels
uses: pypa/cibuildwheel@v2.3.1
uses: pypa/cibuildwheel@v2.5.0
env:
CIBW_BUILD: ${{ matrix.build }}
CIBW_ARCHS_LINUX: auto aarch64
Expand All @@ -71,7 +71,7 @@ jobs:
CIBW_TEST_REQUIRES: pytest numpy ipython
CIBW_TEST_COMMAND: pytest {project}/tests
# aggdraw 1.3.12 only supports <cp39
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64 *-musllinux* cp39-manylinux_i686 cp310-manylinux_i686 cp310-win32"
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64 *_aarch64 *-musllinux* cp39-manylinux_i686 cp310-manylinux_i686 cp310-win32"

- uses: actions/upload-artifact@v2
with:
Expand All @@ -88,7 +88,7 @@ jobs:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}
5 changes: 5 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ build:

sphinx:
configuration: docs/conf.py

python:
install:
- method: pip
- path: .

0 comments on commit b620130

Please sign in to comment.