Skip to content

Commit

Permalink
[Package] Add version number to artifact name (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterJH5574 authored Nov 18, 2024
1 parent a2db84f commit 33e3dc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheel_mac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
python setup.py bdist_wheel
- uses: actions/upload-artifact@v4
with:
name: xgrammar-wheel-${{ matrix.platform }}
name: xgrammar-wheel-${{ github.ref_name }}-${{ matrix.platform }}
path: python/dist/
retention-days: 3
overwrite: true
Expand All @@ -118,7 +118,7 @@ jobs:
- name: Download all the wheels
uses: actions/download-artifact@v4
with:
pattern: xgrammar-wheel-macos-*
pattern: xgrammar-wheel-${{ github.ref_name }}-macos-*
path: python/dist/
merge-multiple: true
- name: Publish package distributions to PyPI
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheel_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
python setup.py bdist_wheel
- uses: actions/upload-artifact@v4
with:
name: xgrammar-wheel-windows
name: xgrammar-wheel-${{ github.ref_name }}-windows
path: python/dist/
retention-days: 3
overwrite: true
Expand All @@ -117,7 +117,7 @@ jobs:
- name: Download all the wheels
uses: actions/download-artifact@v4
with:
name: xgrammar-wheel-windows
name: xgrammar-wheel-${{ github.ref_name }}-windows
path: python/dist/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 33e3dc9

Please sign in to comment.