Skip to content

Commit

Permalink
fix name for pypi repository arg
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 26, 2024
1 parent 2708803 commit 0d4bdc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/actions/publish-pypi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
artifacts-dir:
description: Where to download the artifacts
default: "dist"
pypi-repository-url:
repository-url:
description: The PyPI index to publish to, test or prod
required: true

Expand All @@ -22,4 +22,4 @@ runs:
- name: Publish artifacts to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: ${{ inputs.pypi-repository-url }}
repository-url: ${{ inputs.repository-url }}
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,11 @@ jobs:
- name: Build `dbt-adapters`
if: ${{ inputs.package }} == dbt-adapters
uses: ./.github/actions/build-hatch
with:
pypi-repository-url: ${{ vars.PYPI_REPOSITORY_URL }}

- name: Build `dbt-tests-adapter`
if: ${{ inputs.package }} == dbt-tests-adapter
uses: ./.github/actions/build-hatch
with:
pypi-repository-url: ${{ vars.PYPI_REPOSITORY_URL }}
working-dir: "./dbt-tests-adapter"

- name: Publish to PyPI
Expand Down

0 comments on commit 0d4bdc8

Please sign in to comment.