Skip to content

Commit

Permalink
As above for lavavu-osmesa
Browse files Browse the repository at this point in the history
  • Loading branch information
OKaluza committed Nov 27, 2023
1 parent 69614eb commit 75d291e
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/osmesa_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,25 @@ jobs:

upload_pypi:
needs: [build_wheels]
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/lavavu
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/download-artifact@v2
- name: Retrieve wheels
uses: actions/download-artifact@v2
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@master
with:
user: ${{ secrets.pypi_username }}
password: ${{ secrets.pypi_password }}
# To test: repository_url: https://test.pypi.org/legacy/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
#Uncomment to use testing repo
#with:
# repository-url: https://test.pypi.org/legacy/

deploy_docker:
needs: [upload_pypi] #Requires lavavu-osmesa package to be uploaded
Expand Down

0 comments on commit 75d291e

Please sign in to comment.