Skip to content

Commit

Permalink
🐛 add github token to be able to download artifacts before publishing…
Browse files Browse the repository at this point in the history
… to pypi (#85)

* 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
  • Loading branch information
bisgaard-itis authored Nov 3, 2023
1 parent 014a394 commit c064c2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-python-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [master]
types:
- completed
permissions: read-all

jobs:
publish-osparc_client:
Expand All @@ -19,6 +20,8 @@ jobs:
steps:
- name: Download wheels
run: gh run download ${{ github.event.workflow_run.id }}
env:
GH_TOKEN: ${{ github.token }}
- name: Remove osparc wheel
run: |
osparc_wheel=$(ls osparc_python_wheels/osparc-*)
Expand Down Expand Up @@ -49,6 +52,8 @@ jobs:
steps:
- name: Download wheels
run: gh run download ${{ github.event.workflow_run.id }}
env:
GH_TOKEN: ${{ github.token }}
- name: Remove osparc_client wheel
run: |
osparc_client_wheel=$(ls osparc_python_wheels/osparc_client*)
Expand Down

0 comments on commit c064c2a

Please sign in to comment.