Skip to content

Commit

Permalink
Fix cd-cli-extras.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph McKinsey committed Jun 7, 2024
1 parent 9e06de4 commit 448025e
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/cd-cli-extras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/')
Expand All @@ -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

0 comments on commit 448025e

Please sign in to comment.