Skip to content

Commit 90d5503

Browse files
🐛 (#116)
* 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
1 parent 5b1f259 commit 90d5503

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v3
2222
with:
23-
ref: ${{ github.event.workflow_run.head_sha }}
23+
ref: ${{ github.ref }}
2424
- name: Set up Python
2525
uses: actions/setup-python@v2
2626
with:
@@ -32,7 +32,7 @@ jobs:
3232
id: download
3333
run: |
3434
source .venv/bin/activate
35-
repo=${{github.repository_owner}}/${{github.repository.name}}
35+
repo=${{github.repository}}
3636
gh run download ${{ inputs.run_id }} --repo=${repo}
3737
version=$(cat osparc_python_wheels/VERSION)
3838
is_release=$(python scripts/is_semantic_version.py "${version}" --no-raise-result)
@@ -68,7 +68,7 @@ jobs:
6868
steps:
6969
- uses: actions/checkout@v3
7070
with:
71-
ref: ${{ github.event.workflow_run.head_sha }}
71+
ref: ${{ github.ref }}
7272
- name: Set up Python
7373
uses: actions/setup-python@v2
7474
with:
@@ -80,7 +80,7 @@ jobs:
8080
id: download
8181
run: |
8282
source .venv/bin/activate
83-
repo=${{github.repository_owner}}/${{github.repository.name}}
83+
repo=${{github.repository}}
8484
gh run download ${{ inputs.run_id }} --repo=${repo}
8585
version=$(cat osparc_python_wheels/VERSION)
8686
is_release=$(python scripts/is_semantic_version.py "${version}" --no-raise-result)

0 commit comments

Comments
 (0)