Skip to content

Commit 953330c

Browse files
committed
fix deprecated GitHub Actions
Update actions/checkout, actions/setup-python, and actions/upload-artifact from v2 to latest versions (v4/v5) to fix CI failures.
1 parent 0f94a66 commit 953330c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
env:
1414
ARCH: "universal2"
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
with:
1818
submodules: recursive
19-
- uses: actions/setup-python@v2
19+
- uses: actions/setup-python@v5
2020
with:
2121
python-version: 3.9
2222
- name: Build library
2323
run: ./build.sh
24-
- uses: actions/upload-artifact@v2
24+
- uses: actions/upload-artifact@v4
2525
with:
2626
name: libskia-mac
2727
path: dist/*.zip
@@ -42,7 +42,7 @@ jobs:
4242
arch: arm64
4343
docker_image: "dockcross/manylinux2014-aarch64"
4444
steps:
45-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v4
4646
with:
4747
submodules: recursive
4848
- name: Sync skia deps outside container
@@ -53,7 +53,7 @@ jobs:
5353
run: docker pull "${MANYLINUX_DOCKER_IMAGE}"
5454
- name: Build library inside manylinux container
5555
run: docker run --rm -v "${GITHUB_WORKSPACE}":/_w -w /_w -e BUILD_SKIA_OPTIONS="${BUILD_SKIA_OPTIONS}" -e PYTHON_EXE=/opt/python/cp39-cp39/bin/python -e GN_EXE="/_w/bin/linux64/gn" -e ARCH="${ARCH}" "${MANYLINUX_DOCKER_IMAGE}" ./build.sh
56-
- uses: actions/upload-artifact@v2
56+
- uses: actions/upload-artifact@v4
5757
with:
5858
name: libskia-linux-${{ matrix.arch }}
5959
path: dist/*.zip

0 commit comments

Comments
 (0)