diff options
author | Elliott Hughes <enh@google.com> | 2024-04-01 15:28:06 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2024-04-01 15:28:06 +0000 |
commit | 8e084f2ba2ed3227158ec488d086798ef80d0b27 (patch) | |
tree | 8f75003d350867df75829811ecab46ead38e6cda /.github/workflows/wheels.yml | |
parent | e753d9084138bc0420c72e7ea7394cac6fc0063e (diff) | |
download | fonttools-8e084f2ba2ed3227158ec488d086798ef80d0b27.tar.gz |
This project was upgraded with external_updater.
Usage: tools/external_updater/updater.sh update external/fonttools
For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md
Test: TreeHugger
Change-Id: I5054ab1711063135fa20c2ca2eca8301c07d0267
Diffstat (limited to '.github/workflows/wheels.yml')
-rw-r--r-- | .github/workflows/wheels.yml | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 59ba1b0b..68dbf4cd 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -21,9 +21,9 @@ jobs: build_pure: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies @@ -32,8 +32,9 @@ jobs: - name: Build source distribution and pure-python wheel run: | python setup.py sdist bdist_wheel - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: pure path: | dist/*.whl dist/*.tar.gz @@ -55,11 +56,11 @@ jobs: - os: windows-latest arch: auto32 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install dependencies @@ -70,8 +71,9 @@ jobs: env: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_ARCHS: ${{ matrix.arch }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: wheels-${{ matrix.os }}-${{ matrix.arch }} path: wheelhouse/*.whl build_arch_wheels: @@ -83,10 +85,10 @@ jobs: python: [38, 39, 310, 311, 312] arch: [aarch64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: docker/setup-qemu-action@v2.2.0 + - uses: docker/setup-qemu-action@v3.0.0 with: platforms: all - name: Install dependencies @@ -96,8 +98,9 @@ jobs: env: CIBW_BUILD: cp${{ matrix.python }}-* CIBW_ARCHS: ${{ matrix.arch }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: wheels-py${{ matrix.python }}-linux-${{ matrix.arch }} path: wheelhouse/*.whl deploy: @@ -110,11 +113,12 @@ jobs: # only run if the commit is tagged... if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: artifact + # so that all artifacts are downloaded in the same directory specified by 'path' + merge-multiple: true path: dist - - uses: pypa/gh-action-pypi-publish@v1.8.8 + - uses: pypa/gh-action-pypi-publish@v1.8.11 with: user: __token__ password: ${{ secrets.PYPI_PASSWORD }} |