Skip to content

Commit fe78702

Browse files
🐛 (#120)
* update workflow before publishing python package * fix dependency issue and bump version * point to website in project description * fix broken dependency * improve doc * add github token to download artifacts * ensure only read-access @wvangeit * yet another attempt at downloading artifacts * make sure to use repo that ran the trigger wf * another attempt at fixing * change owner * allow publishing to testpypi also when pr * minor change * revert minor (but breaking) change * minor fix * add debug messages * another debug message * hopefully the final version * final fix * minor fix * move master and tag to individual jobs * add debug messages * dev->post * add python script for determining semantic version * minor changes * minor changes * improve error handling and add version file to artifacts * check if release * minor fix * ensure to enter venv * also when tagging * source venv in publishin workflow * ensure only master * add script for testing 'pure' semver * adapt workflows to new python script * minor change * attempt to evaluate expressions correctly * several fixes to fix tests * ensure repo is checked out in publish workflow * several small fixes * cleanup * debug * minor cleanup * mionr changes * add debug message * minor change * minor change * yet another try * minor change * minor change * minor change * mionr change * minor changes * correct workflow run id * cosmetic change * avoid using gh * change to a single job for publishing * minor cleanup
1 parent 4300476 commit fe78702

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/publish-python-client.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,14 @@ jobs:
3636
version=$(cat osparc_python_wheels/VERSION)
3737
is_release=$(python scripts/is_semantic_version.py "${version}" --no-raise-result)
3838
echo "is-release=${is_release}" >> $GITHUB_OUTPUT
39-
- name: Remove osparc wheel
40-
run: |
41-
osparc_wheel=$(ls osparc_python_wheels/osparc-*)
42-
osparc_client_wheel=$(ls osparc_python_wheels/osparc_client*)
4339
rm osparc_python_wheels/VERSION
44-
- name: Publish osparc_client to Test PyPI
40+
- name: Publish to TestPyPI
4541
uses: pypa/gh-action-pypi-publish@release/v1
4642
with:
4743
repository-url: https://test.pypi.org/legacy/
4844
verbose: true
4945
packages-dir: osparc_python_wheels/
50-
- name: Publish osparc_client to PyPI
46+
- name: Publish to PyPI
5147
if: steps.release.outputs.is-release == 'True'
5248
uses: pypa/gh-action-pypi-publish@release/v1
5349
with:

0 commit comments

Comments
 (0)