From 448025e52c5a1f9c4d78f73d73187cfe0049bbe7 Mon Sep 17 00:00:00 2001 From: Joseph McKinsey Date: Fri, 7 Jun 2024 11:51:14 -0600 Subject: [PATCH] Fix cd-cli-extras.yml --- .github/workflows/cd-cli-extras.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd-cli-extras.yml b/.github/workflows/cd-cli-extras.yml index fe73e08..4281330 100644 --- a/.github/workflows/cd-cli-extras.yml +++ b/.github/workflows/cd-cli-extras.yml @@ -34,7 +34,7 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: python-dist + name: python-cli-extras-dist path: helics_cli_extras/dist/* publish-helics: @@ -50,7 +50,7 @@ jobs: uses: actions/download-artifact@v4 with: merge-multiple: true - path: dist + path: helics_cli_extras/dist - name: Publish package to TestPyPI if: startsWith(github.ref, 'refs/tags/') @@ -59,15 +59,10 @@ jobs: user: __token__ password: ${{ secrets.TEST_PYPI_PASSWORD }} repository-url: https://test.pypi.org/legacy/ + packages-dir: helics_cli_extras/dist - name: Publish package to PyPI if: startsWith(github.ref, 'refs/tags/') uses: pypa/gh-action-pypi-publish@release/v1 - - - name: GitHub Release - if: startsWith(github.ref, 'refs/tags/') - uses: softprops/action-gh-release@v2 with: - files: "dist/*" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + packages-dir: helics_cli_extras/dist \ No newline at end of file