From 0d4bdc80a6b2c3fe97a7822899c5aac2cdacf71d Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Fri, 26 Jan 2024 16:13:43 -0500 Subject: [PATCH] fix name for pypi repository arg --- .github/actions/publish-pypi/action.yml | 4 ++-- .github/workflows/release.yml | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/actions/publish-pypi/action.yml b/.github/actions/publish-pypi/action.yml index ce03dc6c..f28775a4 100644 --- a/.github/actions/publish-pypi/action.yml +++ b/.github/actions/publish-pypi/action.yml @@ -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 @@ -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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45188e8a..8c6d75aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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