Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
PR revisions
Browse files Browse the repository at this point in the history
- refactor code from nm-cp-assets that gets wheel and tar.gz files into a new action that can be used for that and our nm-upload-assets-to-gcp.yml workflow
- correct syntax in the if statement
- use nm-actions @v1.0.0
  • Loading branch information
derekk-nm committed Jul 10, 2024
1 parent 6370dd0 commit b4d9020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nm-upload-assets-to-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
# want to push RELEASE assets to the external pypi.org
# publish the wheel file
- name: push wheel to pypi.org
if: ${{ inputs.wf_category == 'RELEASE' }}
if: ${{ inputs.wf_category == "RELEASE" }}
uses: neuralmagic/nm-actions/actions/publish_whl/[email protected]
with:
username: ${{ secrets.PYPI_PUBLIC_USER }}
Expand All @@ -97,7 +97,7 @@ jobs:

# publish the tar.gz file
- name: push tar.gz to pypi.org
if: ${{ inputs.wf_category == 'RELEASE' }}
if: ${{ inputs.wf_category == "RELEASE" }}
uses: neuralmagic/nm-actions/actions/publish_whl/[email protected]
with:
username: ${{ secrets.PYPI_PUBLIC_USER }}
Expand Down

0 comments on commit b4d9020

Please sign in to comment.