Skip to content

Commit

Permalink
Resume WiP on publishing action
Browse files Browse the repository at this point in the history
  • Loading branch information
corey committed Dec 10, 2023
1 parent e4db777 commit c64eca1
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ on:
# description: If 'true', does not use the '--release' switch when building Rust libraries
# required: false
# default: "false"
# publish_pypi:
# description: Publish built packages to PyPi
# required: true
# default: false
publish_pypi:
description: Publish built packages to PyPi
required: true
default: "false"
type: choice
options:
- true
- false
publish_pypi_test:
description: Publish To PyPI Test Server
required: true
Expand Down Expand Up @@ -220,15 +224,15 @@ jobs:

- name: List OM Wheels
run: ls -al ./om_wheels
# - name: Push To PyPi Test Server
# uses: pypa/[email protected]
# with:
# packages-dir: om_wheels
# # user: __token__
# password: ${{ secrets.PYPI_ORIGEN_METAL }}
# repository-url: https://test.pypi.org/legacy/
# verify_metadata: false

- name: Push To PyPi Test Server
uses: pypa/[email protected]
with:
packages-dir: om_wheels
# user: __token__
password: ${{ secrets.PYPI_ORIGEN_METAL }}
repository-url: https://test.pypi.org/legacy/
verify-metadata: false

- name: Retrieve Wheels
uses: actions/download-artifact@v3
Expand Down

0 comments on commit c64eca1

Please sign in to comment.