From ee63f6ea8d2a687027967d738995a7df02dadc13 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Fri, 12 Jan 2024 18:36:43 +0000 Subject: [PATCH] ci: fix name of artifacts in deploy-cpp (#2940) * ci: missing updates * ci: fix name of artifacts --- .github/workflows/deploy-cpp.yml | 13 ++++++++----- .github/workflows/deploy.yml | 8 ++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-cpp.yml b/.github/workflows/deploy-cpp.yml index f72996b849..8f7845db79 100644 --- a/.github/workflows/deploy-cpp.yml +++ b/.github/workflows/deploy-cpp.yml @@ -48,8 +48,9 @@ jobs: - name: Check metadata run: pipx run twine check awkward-cpp/dist/* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: awkward-sdist path: awkward-cpp/dist/*.tar.gz build_wheels: @@ -109,8 +110,9 @@ jobs: ) - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + name: awkward-wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.build }} path: wheelhouse/*.whl @@ -158,8 +160,9 @@ jobs: ) - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + name: awkward-wheels-${{ matrix.arch }}-py${{ matrix.python }} path: wheelhouse/*.whl upload_all: @@ -172,9 +175,9 @@ jobs: name: "pypi" url: "https://pypi.org/project/awkward-cpp/" steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: artifact + pattern: "awkward*" path: dist - uses: pypa/gh-action-pypi-publish@v1.8.11 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 58f4de3f5d..c3ffe3b200 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -83,7 +83,7 @@ jobs: - name: Check metadata run: pipx run twine check dist/* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: distributions path: dist/* @@ -93,7 +93,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: header-only path: header-only @@ -108,7 +108,7 @@ jobs: name: "pypi" url: "https://pypi.org/project/awkward/" steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: distributions path: dist @@ -121,7 +121,7 @@ jobs: needs: [bundle-headers] if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: header-only path: header-only