Skip to content

Commit

Permalink
Update actions versions in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Feb 1, 2024
1 parent 1c27682 commit 2af9871
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2af9871

Please sign in to comment.