Skip to content

Commit

Permalink
Bump actions/[upload|download]-artifact from v3 to v4 in /.github/wor…
Browse files Browse the repository at this point in the history
…kflows (#1386)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sylwester Arabas <[email protected]>
  • Loading branch information
dependabot[bot] and slayoo authored Oct 10, 2024
1 parent b8a0d71 commit 25c8c75
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/tests+artifacts+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,10 @@ jobs:
exit `fgrep -i warning build.log | grep -v impl_numba/warnings.py | grep -v "no previously-included files matching" | wc -l`
twine check --strict dist/*
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ${{ matrix.packages-dir}}/dist
name: dist
path: ${{ matrix.packages-dir }}/dist
name: dist-${{ matrix.packages-dir }}

pkg_install_check:
strategy:
Expand Down Expand Up @@ -329,9 +329,10 @@ jobs:
echo "PIP_INSTALL_ARGS=--break-system-packages" >> $GITHUB_ENV
# Python 3.12 workaround
python -m pip install --break-system-packages setuptools packaging
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
pattern: dist-*
merge-multiple: true
path: dist
- run: python -m pip install $PIP_INSTALL_ARGS dist/*.whl
- run: python -c "import PySDM; print(PySDM.__version__)"
Expand All @@ -343,10 +344,11 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
pattern: dist-*
merge-multiple: true
path: dist

- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@unstable/v1
Expand Down

0 comments on commit 25c8c75

Please sign in to comment.