-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5fcce9
commit 2e06977
Showing
1 changed file
with
5 additions
and
4 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 |
---|---|---|
|
@@ -193,18 +193,19 @@ jobs: | |
pypi-release: | ||
name: Pypi release | ||
# only release to PyPi if we're not testing - will release to PyPi test when workflow gets rewritten | ||
if: inputs.test_run == 'false' | ||
if: ${{ inputs.test_run == false }} | ||
|
||
runs-on: ubuntu-latest | ||
|
||
needs: github-release | ||
|
||
environment: PypiProd | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
- name: "Download Build Artifact - ${{ inputs.version_number }}" | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: dist | ||
path: 'dist' | ||
name: ${{ inputs.version_number }} | ||
path: dist/ | ||
|
||
- name: Publish distribution to PyPI | ||
uses: pypa/[email protected] | ||
|