From a45563eb648de9aec05f932c734822b423c0fe67 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Fri, 26 Jan 2024 17:15:19 -0500 Subject: [PATCH] make updates that reflect updates in the shared actions for publishing --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4d31bf6..75166ab2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ defaults: # will cancel previous workflows triggered by the same event and for the same ref for PRs or same SHA otherwise concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.ref || github.sha }} + group: ${{ github.workflow }}-${{ github.event_name }}-${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.ref || github.sha }}-${{ inputs.deploy-to }} cancel-in-progress: true jobs: @@ -39,10 +39,13 @@ jobs: with: persist-credentials: false - - name: Setup environment - uses: dbt-labs/dbt-adapters/.github/actions/setup-environment + - name: Setup `hatch` + uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch.yml@main + + - name: Build `dbt-postgres` + uses: dbt-labs/dbt-adapters/.github/actions/build-hatch.yml@main - name: Publish to PyPI uses: dbt-labs/dbt-adapters/.github/actions/publish-pypi.yml@main with: - deploy-to: ${{ inputs.deploy-to }} + pypi-repository-url: ${{ vars.PYPI_REPOSITORY_URL }}