-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WiP: Publishing: Add pypi job. Add verbose setting to pypi uploads
- Loading branch information
corey
committed
Dec 11, 2023
1 parent
b40239b
commit 9536b90
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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/[email protected] | ||
with: | ||
packages-dir: origen_wheels | ||
password: ${{ secrets.PYPI_ORIGEN_API_TOKEN }} | ||
verify-metadata: false | ||
verbose: true | ||
|
||
release: | ||
needs: build | ||
|