Skip to content

Commit 352bbb6

Browse files
echo "github.workflow.id: ${{github.workflow.id}}" (#117)
* 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
1 parent 90d5503 commit 352bbb6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
echo "osparc_client-wheel=${osparc_client_wheel}" >> $GITHUB_OUTPUT
4747
echo "github.ref: ${{github.ref}}"
4848
echo "github.event_name: ${{github.event_name}}"
49+
echo "github.workflow.id: ${{github.workflow.id}}"
50+
echo "github.run_id: ${{github.run_id}}"
4951
- name: Upload wheels
5052
uses: actions/upload-artifact@v3
5153
with:
@@ -128,8 +130,8 @@ jobs:
128130
129131
publish:
130132
name: Publish clients
131-
if: github.event_name == 'push' && ( startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master')
133+
if: github.event_name == 'push' && ( startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master' )
132134
needs: [test-20-04, test-latest]
133135
uses: ./.github/workflows/publish-python-client.yml
134136
with:
135-
run_id: ${{github.workflow.id}}
137+
run_id: ${{github.run_id}}

0 commit comments

Comments
 (0)