Skip to content

Commit

Permalink
ci: fix name of artifacts in deploy-cpp (#2940)
Browse files Browse the repository at this point in the history
* ci: missing updates

* ci: fix name of artifacts
  • Loading branch information
agoose77 authored Jan 12, 2024
1 parent f74bf8d commit ee63f6e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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


Expand Down Expand Up @@ -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:
Expand 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
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ee63f6e

Please sign in to comment.