Skip to content

Commit

Permalink
update python yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed May 6, 2024
1 parent efcde03 commit 4e6d931
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,14 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
working-directory: ./packages/python
- name: Build package
run: python -m build
working-directory: ./packages/python
- name: List files in 'dist/'
run: ls -l dist/

- name: Cd to directory to publish in PyPi
working-directory: ./packages/python
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: ${{ secrets.PYPI_USER }}
password: ${{ secrets.PYPI_API_TOKEN }}
working-directory: ./packages/python
run: |
python -m pip install --upgrade pip
pip install build
python -m build
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: ${{ secrets.PYPI_USER }}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 4e6d931

Please sign in to comment.