From 46667acace3a8cf35386fa6b67c2299265bd617a Mon Sep 17 00:00:00 2001 From: Le Bao Hiep Date: Thu, 8 Aug 2024 09:30:12 +0700 Subject: [PATCH] Upgrade actions --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 007cb2b..eb2fe72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,15 +8,15 @@ jobs: python-version: [ 3.6.15, 3.7.17, 3.8.19, 3.9.19, 3.10.14, 3.11.9, 3.12.5 ] arch: [ amd64, aarch64 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup QEMU if: matrix.arch != 'amd64' - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Setup Docker buildx if: matrix.arch != 'amd64' - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 with: install: true - name: Download docker image @@ -27,7 +27,7 @@ jobs: PYTHON_URL="https://www.python.org/ftp/python/$(perl -e 'shift=~/([\d.]+)/;print$1' "${{ matrix.python-version }}")/Python-${{ matrix.python-version }}.tar.xz" docker run -e ARCH="${{ matrix.arch }}" -e PYTHON_DIR="$PYTHON_DIR" -e PYTHON_URL="$PYTHON_URL" -v "$(pwd):/code" vnoj/runtimes-tier1:${{ matrix.arch }}-latest - name: Archive build artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Python ${{ matrix.python-version }} (${{ matrix.arch }}) path: python*.tar.gz @@ -37,7 +37,7 @@ jobs: needs: build steps: - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 - name: Upload binaries to release uses: svenstaro/upload-release-action@v2 with: