Skip to content

Commit

Permalink
fix: upload artifacts with different names
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-liang3 committed Jan 13, 2025
1 parent 89d423d commit 6e9ce02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
if: matrix.architecture != 'linux/arm64' || github.ref == 'refs/heads/main' || (github.event_name == 'release' && github.event.action == 'published')
uses: actions/upload-artifact@v4
with:
name: cpp-package
name: cpp-package-${{ matrix.architecture }}
path: packages/cpp/

build-package-python:
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
if: matrix.architecture != 'linux/arm64' || github.ref == 'refs/heads/main' || (github.event_name == 'release' && github.event.action == 'published')
uses: actions/upload-artifact@v4
with:
name: python-package
name: python-package-${{ matrix.architecture }}
path: packages/python/

build-documentation:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
- name: Download C++ Package
uses: actions/download-artifact@v4
with:
name: cpp-package
pattern: cpp-package-*
merge-multiple: true
path: packages/cpp/
- name: Release C++ Package
uses: softprops/action-gh-release@v1
Expand All @@ -63,7 +64,8 @@ jobs:
- name: Download Python Package
uses: actions/download-artifact@v4
with:
name: python-package
pattern: python-package-*
merge-multiple: true
path: packages/python/
- name: Deploy Python Package
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 6e9ce02

Please sign in to comment.