Skip to content

Commit

Permalink
fix release.yml pypi steps (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt authored Jan 10, 2023
1 parent a5fcce9 commit 2e06977
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 2e06977

Please sign in to comment.