From 2af9871f66bce8d45c4f42b429b800bb28d6c658 Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Thu, 1 Feb 2024 20:14:40 +0100 Subject: [PATCH] Update actions versions in workflow --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06d13ae..7ec32c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: working-directory: ./js - name: Upload tarball - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: curies_npm path: ./js/pkg @@ -69,14 +69,14 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-qemu-action@v3 with: platforms: linux/${{ matrix.architecture }} if: github.event_name == 'release' && matrix.architecture != 'x86_64' - run: sed 's/%arch%/${{ matrix.architecture }}/g' .github/workflows/manylinux_build.sh | sed 's/%for_each_version%/${{ github.event_name == 'release' || '' }}/g' > .github/workflows/manylinux_build_script.sh - run: docker run -v "$(pwd)":/workdir --platform linux/${{ matrix.architecture }} quay.io/pypa/manylinux2014_${{ matrix.architecture }} /bin/bash /workdir/.github/workflows/manylinux_build_script.sh if: github.event_name == 'release' || matrix.architecture == 'x86_64' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: curies_wheel_${{ matrix.architecture }}_linux path: target/wheels/*.whl @@ -101,14 +101,14 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-qemu-action@v3 with: platforms: linux/${{ matrix.architecture }} if: github.event_name == 'release' && matrix.architecture != 'x86_64' - run: sed 's/%arch%/${{ matrix.architecture }}/g' .github/workflows/musllinux_build.sh | sed 's/%for_each_version%/${{ github.event_name == 'release' || '' }}/g' > .github/workflows/musllinux_build_script.sh - run: docker run -v "$(pwd)":/workdir --platform linux/${{ matrix.architecture }} quay.io/pypa/musllinux_1_1_${{ matrix.architecture }} /bin/bash /workdir/.github/workflows/musllinux_build_script.sh if: github.event_name == 'release' || matrix.architecture == 'x86_64' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: curies_wheel_${{ matrix.architecture }}_linux_musl path: target/wheels/*.whl @@ -131,7 +131,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup update && rustup target add aarch64-apple-darwin - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: pip @@ -145,7 +145,7 @@ jobs: if: github.event_name == 'release' - run: maturin build --release --target aarch64-apple-darwin -m python/Cargo.toml if: github.event_name == 'release' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: curies_wheel_universal2_mac path: target/wheels/*.whl @@ -162,7 +162,7 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: pip @@ -174,7 +174,7 @@ jobs: - run: rm -r target/wheels - run: maturin build --release -m python/Cargo.toml - run: maturin sdist -m python/Cargo.toml - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: curies_wheel_x86_64_windows path: target/wheels/*.whl