diff --git a/.github/workflows/ci-locks.yml b/.github/workflows/ci-locks.yml index aec75ffb..f81d5a2a 100644 --- a/.github/workflows/ci-locks.yml +++ b/.github/workflows/ci-locks.yml @@ -91,7 +91,7 @@ jobs: tox -e ${{ matrix.lock }} -- --platform osx-64 --platform win-64 - name: "Upload lock artifacts" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lock-artifacts path: ${{ github.workspace }}/requirements/locks/${{ matrix.lock }}*.txt @@ -106,7 +106,7 @@ jobs: uses: actions/checkout@v4 - name: "Download lock artifacts" - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: lock-artifacts path: ${{ github.workspace }}/requirements/locks diff --git a/.github/workflows/ci-wheels.yml b/.github/workflows/ci-wheels.yml index 860ea22c..88efad3d 100644 --- a/.github/workflows/ci-wheels.yml +++ b/.github/workflows/ci-wheels.yml @@ -87,9 +87,9 @@ jobs: UDUNITS2_XML_PATH: ${{ matrix.xml_path }} CIBW_ENVIRONMENT_PASS_LINUX: UDUNITS2_INCDIR UDUNITS2_LIBDIR UDUNITS2_XML_PATH - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: pypi-artifacts + name: pypi-artifacts-bdist-${{ matrix.os }}-${{ matrix.arch }} path: ${{ github.workspace }}/wheelhouse/*.whl @@ -106,9 +106,9 @@ jobs: run: | pipx run build --sdist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: pypi-artifacts + name: pypi-artifacts-sdist path: ${{ github.workspace }}/dist/*.tar.gz @@ -117,10 +117,10 @@ jobs: name: "Show artifacts" runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: pypi-artifacts path: ${{ github.workspace }}/dist + merge-multiple: true - shell: bash run: | @@ -134,10 +134,10 @@ jobs: # upload to Test PyPI for every commit on main branch if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: pypi-artifacts path: ${{ github.workspace }}/dist + merge-multiple: true - uses: pypa/gh-action-pypi-publish@release/v1 with: @@ -155,10 +155,10 @@ jobs: # upload to PyPI for every tag starting with 'v' if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: pypi-artifacts path: ${{ github.workspace }}/dist + merge-multiple: true - uses: pypa/gh-action-pypi-publish@release/v1 with: