Skip to content

Commit

Permalink
TMP upload package to github release
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed May 21, 2024
1 parent 47255a7 commit fe5ac29
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/tests_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,14 @@ jobs:
run: docker run --rm -v "$(pwd):/src" "$BASE_IMAGE_NAME" python setup.py sdist
shell: bash

- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
- name: 'Deploy package to the Github release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
uses: svenstaro/upload-release-action@v2
with:
repository_url: ${{ vars.PYPI_REPOSITORY_URL }}
password: ${{ secrets.PYPI_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: 'dist/*'
file_glob: true
tag: ${{ github.ref }}
...

0 comments on commit fe5ac29

Please sign in to comment.