Skip to content

Commit

Permalink
chore(deps): Bump actions/upload-artifact from 3 to 4 (#98)
Browse files Browse the repository at this point in the history
* chore(deps): Bump actions/upload-artifact from 3 to 4

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* ci: Migrate to upload-artifact v4

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Tomlinson <[email protected]>
  • Loading branch information
dependabot[bot] and jetuk authored Feb 29, 2024
1 parent d81a522 commit f9fd14c
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,48 +11,48 @@ on:

jobs:

# Mac OS X does not work with the HDF5 crate for some reason.
# macos:
# runs-on: macos-latest
# strategy:
# matrix:
# python-version: [ '3.9', '3.10', '3.11', '3.12' ]
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# architecture: x64
# - uses: dtolnay/rust-toolchain@stable
# - name: Build wheels - x86_64
# uses: PyO3/maturin-action@v1
# with:
# target: x86_64
# args: --release --out dist --sdist -m pywr-python/Cargo.toml
# - name: Install built wheel - x86_64
# run: |
# pip install pytest h5py pandas polars pyarrow click
# pip install pywr --no-index --find-links dist --force-reinstall --no-deps
# python -c "import pywr"
# python -m pytest
# - name: Build wheels - universal2
# uses: PyO3/maturin-action@v1
# with:
# target: universal2-apple-darwin
# args: -i ${{ matrix.python-version }} --release --out dist -m pywr-python/Cargo.toml
# - name: Install built wheel - universal2
# run: |
# pip install pytest h5py pandas polars pyarrow click
# pip install pywr --no-index --find-links dist --force-reinstall --no-deps
# python -c "import pywr"
# python -m pytest
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# with:
# name: wheels
# path: dist
# Mac OS X does not work with the HDF5 crate for some reason.
# macos:
# runs-on: macos-latest
# strategy:
# matrix:
# python-version: [ '3.9', '3.10', '3.11', '3.12' ]
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# architecture: x64
# - uses: dtolnay/rust-toolchain@stable
# - name: Build wheels - x86_64
# uses: PyO3/maturin-action@v1
# with:
# target: x86_64
# args: --release --out dist --sdist -m pywr-python/Cargo.toml
# - name: Install built wheel - x86_64
# run: |
# pip install pytest h5py pandas polars pyarrow click
# pip install pywr --no-index --find-links dist --force-reinstall --no-deps
# python -c "import pywr"
# python -m pytest
# - name: Build wheels - universal2
# uses: PyO3/maturin-action@v1
# with:
# target: universal2-apple-darwin
# args: -i ${{ matrix.python-version }} --release --out dist -m pywr-python/Cargo.toml
# - name: Install built wheel - universal2
# run: |
# pip install pytest h5py pandas polars pyarrow click
# pip install pywr --no-index --find-links dist --force-reinstall --no-deps
# python -c "import pywr"
# python -m pytest
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: wheels
# path: dist

windows:
runs-on: windows-latest
Expand Down Expand Up @@ -80,9 +80,9 @@ jobs:
python -c "import pywr"
python -m pytest
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-win-${{ matrix.python-version }}
path: dist

linux:
Expand Down Expand Up @@ -111,9 +111,9 @@ jobs:
python -c "import pywr"
python -m pytest
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-linux-${{ matrix.python-version }}
path: dist

# linux-cross:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
# pip3 install crfs --no-index --find-links dist/ --force-reinstall
# python3 -c "import crfs"
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: wheels
# path: dist
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
# pip3 install crfs --no-index --find-links /io/dist/ --force-reinstall
# python3 -c "import crfs"
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: wheels
# path: dist
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
# pip3 install crfs --no-index --find-links dist/ --force-reinstall
# python3 -c "import crfs"
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: wheels
# path: dist
Expand Down

0 comments on commit f9fd14c

Please sign in to comment.