Skip to content

Commit

Permalink
Pattern match for all artifacts (#239)
Browse files Browse the repository at this point in the history
* Pattern match for all artifacts

* Bump package

* filter at build command
  • Loading branch information
undfined authored Feb 14, 2025
1 parent 90c5e06 commit 17242c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
uses: actions/[email protected]
with:
overwrite: true
name: linux-${{ matrix.target }}-wheels-${{ github.run_id }}
name: release-wheel-linux-${{ matrix.target }}-${{ github.run_id }}
path: dist

build-windows:
Expand All @@ -231,7 +231,7 @@ jobs:
uses: actions/[email protected]
with:
overwrite: true
name: windows-${{ matrix.target }}-wheels-${{ github.run_id }}
name: release-wheel-windows-${{ matrix.target }}-${{ github.run_id }}
path: dist

build-macos:
Expand All @@ -256,7 +256,7 @@ jobs:
uses: actions/[email protected]
with:
overwrite: true
name: macos-${{ matrix.target }}-wheels-${{ github.run_id }}
name: release-wheel-macos-${{ matrix.target }}-${{ github.run_id }}
path: dist

sdist:
Expand All @@ -274,7 +274,7 @@ jobs:
uses: actions/[email protected]
with:
overwrite: true
name: wheels-${{ github.run_id }}
name: release-sdist-${{ github.run_id }}
path: dist

release:
Expand All @@ -285,12 +285,12 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: wheels-${{ github.run_id }}
pattern: release-*-${{ github.run_id }}
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
maturin-version: 1.7.1
args: --skip-existing *
args: --skip-existing release-*-${{ github.run_id }}/*.*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dolma"
version = "1.1.1"
version = "1.1.1.post3"
description = "Data filters"
license = { text = "Apache-2.0" }
readme = "README.md"
Expand Down

0 comments on commit 17242c3

Please sign in to comment.