From 56ba416bd4682e99dc83de90ec89014bf29b38c2 Mon Sep 17 00:00:00 2001 From: Yunchu Lee Date: Tue, 31 Oct 2023 20:01:18 +0900 Subject: [PATCH] publish test to internal pypi --- .github/workflows/publish.yml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3885e3ec9cf..20809fc8004 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -66,15 +66,22 @@ jobs: tag: ${{ github.ref }} overwrite: true file_glob: true - - name: Publish package distributions to PyPI - if: ${{ steps.check-tag.outputs.match != '' }} - uses: pypa/gh-action-pypi-publish@v1.7.1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} - - name: Publish package distributions to TestPyPI + # - name: Publish package distributions to PyPI + # if: ${{ steps.check-tag.outputs.match != '' }} + # uses: pypa/gh-action-pypi-publish@v1.8.10 + # with: + # password: ${{ secrets.PYPI_API_TOKEN }} + - name: Publish package distribution to PyPI if: ${{ steps.check-tag.outputs.match == '' }} - uses: pypa/gh-action-pypi-publish@v1.7.1 + uses: pypa/gh-action-pypi-publish@v1.8.10 with: - password: ${{ secrets.TESTPYPI_API_TOKEN }} - repository-url: https://test.pypi.org/legacy/ - verbose: true + user: ${{ secrets.PYPI_USER }} + password: ${{ secrets.PYPI_PASSWORD }} + repository-url: ${{ secrets.PYPI_HOST }}:${{ secrets.PYPI_PORT }} + # - name: Publish package distributions to TestPyPI + # if: ${{ steps.check-tag.outputs.match == '' }} + # uses: pypa/gh-action-pypi-publish@v1.8.10 + # with: + # password: ${{ secrets.TESTPYPI_API_TOKEN }} + # repository-url: https://test.pypi.org/legacy/ + # verbose: true