From 9536b907c6c59e17399f7f0017e8c69cf4fe7928 Mon Sep 17 00:00:00 2001 From: corey Date: Mon, 11 Dec 2023 13:16:50 -0600 Subject: [PATCH] WiP: Publishing: Add pypi job. Add verbose setting to pypi uploads --- .github/workflows/publish.yml | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5c6a9c3b..8bf88cab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -233,6 +233,7 @@ jobs: password: ${{ secrets.PYPI_TEST_SERVER_API_TOKEN_OM }} repository-url: https://test.pypi.org/legacy/ verify-metadata: false + verbose: true - name: Retrieve Wheels uses: actions/download-artifact@v3 @@ -251,6 +252,48 @@ jobs: password: ${{ secrets.PYPI_TEST_SERVER_API_TOKEN }} repository-url: https://test.pypi.org/legacy/ verify-metadata: false + verbose: true + + puublish_to_pypi: + needs: build + runs-on: ubuntu-latest + if: ${{ github.event.inputs.publish_pypi == 'true' }} + steps: + - name: Retrieve Wheels + uses: actions/download-artifact@v3 + with: + name: om_wheels + path: om_wheels + + - name: List OM Wheels + run: ls -al ./om_wheels + + - name: Push To PyPi Test Server + if: ${{ github.event.inputs.origen_metal_python_package == 'true' }} + uses: pypa/gh-action-pypi-publish@v1.8.10 + with: + packages-dir: om_wheels + password: ${{ secrets.PYPI_OM_API_TOKEN }} + verify-metadata: false + verbose: true + + - name: Retrieve Wheels + uses: actions/download-artifact@v3 + with: + name: origen_wheels + path: origen_wheels + + - name: List Origen Wheels + run: ls -al ./origen_wheels + + - name: Push To PyPi Test Server + if: ${{ github.event.inputs.origen_python_package == 'true' }} + uses: pypa/gh-action-pypi-publish@v1.8.10 + with: + packages-dir: origen_wheels + password: ${{ secrets.PYPI_ORIGEN_API_TOKEN }} + verify-metadata: false + verbose: true release: needs: build