Skip to content

Commit 5b1f259

Browse files
πŸ› (#115)
* 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
1 parent 635628e commit 5b1f259

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

β€Ž.github/workflows/build-python-client.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
129129
publish:
130130
name: Publish clients
131-
if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master'
131+
if: github.event_name == 'push' && ( startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master')
132132
needs: [test-20-04, test-latest]
133133
uses: ./.github/workflows/publish-python-client.yml
134134
with:

β€Ž.github/workflows/publish-python-client.ymlβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111

1212
publish-osparc_client:
1313
name: Publish osparc_client wheel
14-
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push'
1514
runs-on: ubuntu-latest
1615
environment:
1716
name: pypi
@@ -60,7 +59,6 @@ jobs:
6059

6160
publish-osparc:
6261
name: Publish osparc wheel
63-
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push'
6462
runs-on: ubuntu-latest
6563
environment:
6664
name: pypi

0 commit comments

Comments
Β (0)