From 17242c32b1fb117e430c7325e64ad250115b37ce Mon Sep 17 00:00:00 2001 From: Tyler Murray Date: Thu, 13 Feb 2025 16:57:24 -0800 Subject: [PATCH] Pattern match for all artifacts (#239) * Pattern match for all artifacts * Bump package * filter at build command --- .github/workflows/CI.yml | 12 ++++++------ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7587b690..a3d0c3ce 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -205,7 +205,7 @@ jobs: uses: actions/upload-artifact@v4.4 with: overwrite: true - name: linux-${{ matrix.target }}-wheels-${{ github.run_id }} + name: release-wheel-linux-${{ matrix.target }}-${{ github.run_id }} path: dist build-windows: @@ -231,7 +231,7 @@ jobs: uses: actions/upload-artifact@v4.4 with: overwrite: true - name: windows-${{ matrix.target }}-wheels-${{ github.run_id }} + name: release-wheel-windows-${{ matrix.target }}-${{ github.run_id }} path: dist build-macos: @@ -256,7 +256,7 @@ jobs: uses: actions/upload-artifact@v4.4 with: overwrite: true - name: macos-${{ matrix.target }}-wheels-${{ github.run_id }} + name: release-wheel-macos-${{ matrix.target }}-${{ github.run_id }} path: dist sdist: @@ -274,7 +274,7 @@ jobs: uses: actions/upload-artifact@v4.4 with: overwrite: true - name: wheels-${{ github.run_id }} + name: release-sdist-${{ github.run_id }} path: dist release: @@ -285,7 +285,7 @@ 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: @@ -293,4 +293,4 @@ jobs: with: command: upload maturin-version: 1.7.1 - args: --skip-existing * + args: --skip-existing release-*-${{ github.run_id }}/*.* diff --git a/pyproject.toml b/pyproject.toml index a37efb5b..bca4e8eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"