Skip to content

Commit

Permalink
Upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hieplpvip committed Aug 8, 2024
1 parent 01430c7 commit 46667ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 46667ac

Please sign in to comment.