diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0dee1932..546a735a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -158,7 +158,7 @@ jobs: - run: python -m cibuildwheel --output-dir dist - uses: actions/upload-artifact@v4.4.0 with: - name: "dist-${{ matrix.os_dist.os }}-${{ matrix.os_dist.dist }}-${{ matrix.os_dist.macosarch }}" + name: "dist-stim-${{ matrix.os_dist.os }}-${{ matrix.os_dist.dist }}-${{ matrix.os_dist.macosarch }}" path: dist/* build_sdist: runs-on: ubuntu-latest @@ -173,15 +173,15 @@ jobs: - run: cd glue/sample && python setup.py sdist - uses: actions/upload-artifact@v4.4.0 with: - name: "dist-sdist-sinter" + name: "dist-sinter" path: glue/sample/dist/*.tar.gz - uses: actions/upload-artifact@v4.4.0 with: - name: "dist-sdist-stimcirq" + name: "dist-stimcirq" path: glue/cirq/dist/*.tar.gz - uses: actions/upload-artifact@v4.4.0 with: - name: "dist-sdist-stim" + name: "dist-stim-sdist" path: dist/*.tar.gz check_sdist_installs: runs-on: ubuntu-latest @@ -198,8 +198,8 @@ jobs: - name: Merge Artifacts uses: actions/upload-artifact/merge@v4 with: - name: dist - pattern: dist-* + name: dist-stim + pattern: dist-stim-* upload_dev_release_to_pypi: needs: ["merge_upload_artifacts"] if: github.ref == 'refs/heads/main' @@ -207,22 +207,30 @@ jobs: steps: - uses: actions/download-artifact@v4.1.7 with: - name: dist - path: dist + name: dist-stim + path: dist-stim + - uses: actions/download-artifact@v4.1.7 + with: + name: dist-stimcirq + path: dist-stimcirq + - uses: actions/download-artifact@v4.1.7 + with: + name: dist-sinter + path: dist-sinter - uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - packages_dir: dist/stim/ + packages_dir: dist-stim password: ${{ secrets.pypi_token_stim }} - uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - packages_dir: dist/stimcirq/ + packages_dir: dist-stimcirq password: ${{ secrets.pypi_token_stimcirq }} - uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - packages_dir: dist/sinter/ + packages_dir: dist-sinter password: ${{ secrets.pypi_token_sinter }} run_main: runs-on: ubuntu-latest