Skip to content

Commit

Permalink
Update artifact names for action compat
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Dec 19, 2023
1 parent 4f88b58 commit 91bb9e3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
interval: "monthly"
27 changes: 23 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
python -m build -s
- name: Upload sdist to build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz
Expand All @@ -36,12 +36,16 @@ jobs:
include:
- os: windows-2019
cibw_archs: "AMD64 ARM64"
artifact_name: "win"
- os: macos-11
cibw_archs: "x86_64 arm64"
artifact_name: "mac"
- os: "ubuntu-20.04"
cibw_archs: "aarch64"
artifact_name: "ubuntu-aarch"
- os: "ubuntu-20.04"
cibw_archs: "x86_64"
artifact_name: "ubuntu-x86_64"

steps:
- uses: actions/checkout@v4
Expand All @@ -63,7 +67,7 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: wheels
name: wheels-${{ matrix.artifact_name }}
path: ./wheelhouse/*.whl

upload_to_pypi:
Expand All @@ -75,10 +79,25 @@ jobs:
with:
name: sdist
path: dist
- name: Download wheels artifact
- name: Download wheels artifact - win
uses: actions/download-artifact@v4
with:
name: wheels
name: wheels-win
path: dist
- name: Download wheels artifact - mac
uses: actions/download-artifact@v4
with:
name: wheels-mac
path: dist
- name: Download wheels artifact - ubuntu aarch
uses: actions/download-artifact@v4
with:
name: wheels-ubuntu-aarch
path: dist
- name: Download wheels artifact - ubuntu x86_64
uses: actions/download-artifact@v4
with:
name: wheels-ubuntu-x86_64
path: dist
- name: Publish package to Test PyPI
if: github.event.action != 'published' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
Expand Down

0 comments on commit 91bb9e3

Please sign in to comment.