From 8cf50d6af1144c4030cb948fab0696c4823ac6ca Mon Sep 17 00:00:00 2001 From: ijl Date: Wed, 27 Mar 2024 22:59:25 +0000 Subject: [PATCH] Fix artifact publishing --- .github/workflows/linux.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 98f6c0b2..0d21af5b 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -40,10 +40,10 @@ jobs: - run: ./integration/run typestubs - name: Store sdist - if: "startsWith(github.ref, 'refs/tags/')" + # if: "startsWith(github.ref, 'refs/tags/')" uses: actions/upload-artifact@v4 with: - name: wheels + name: orjson_sdist path: dist retention-days: 1 @@ -101,10 +101,10 @@ jobs: - run: ./integration/run init - name: Store wheels - if: "startsWith(github.ref, 'refs/tags/')" + # if: "startsWith(github.ref, 'refs/tags/')" uses: actions/upload-artifact@v4 with: - name: wheels + name: orjson_manylinux_2_17_amd64_${{ matrix.python.version }} path: dist retention-days: 1 @@ -175,10 +175,10 @@ jobs: venv/bin/python -m pytest -s -rxX -v test - name: Store wheels - if: "startsWith(github.ref, 'refs/tags/')" + # if: "startsWith(github.ref, 'refs/tags/')" uses: actions/upload-artifact@v4 with: - name: wheels + name: orjson_musllinux_1_2_${{ matrix.platform.arch }}_${{ matrix.python.version }} path: dist retention-days: 1 @@ -270,22 +270,22 @@ jobs: venv/bin/python -m pytest -s -rxX -v -n 2 test - name: Store wheels - if: "startsWith(github.ref, 'refs/tags/')" + # if: "startsWith(github.ref, 'refs/tags/')" uses: actions/upload-artifact@v4 with: - name: wheels + name: orjson_manylinux_2_17_${{ matrix.target.arch }}_${{ matrix.python.version }} path: dist retention-days: 1 pypi: name: PyPI runs-on: ubuntu-22.04 - if: "startsWith(github.ref, 'refs/tags/')" + # if: "startsWith(github.ref, 'refs/tags/')" needs: [ manylinux_2_17_amd64, manylinux_2_17_non_amd64, musllinux_1_2, sdist ] steps: - uses: actions/download-artifact@v4 with: - name: wheels + pattern: orjson_* - uses: actions/setup-python@v5 with: python-version: "3.11"