From 4e6d931f583fd22fe5fdcafa0f93b290b47dcf4b Mon Sep 17 00:00:00 2001 From: gabriel-logan Date: Mon, 6 May 2024 18:12:06 -0300 Subject: [PATCH] update python yml --- .github/workflows/python-publish.yml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index aedc029..34b0b64 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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 }} \ No newline at end of file