diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3ab7c9..bde4d4a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ defaults: jobs: release-prep: name: "Release prep: generate changelog, bump version" - uses: dbt-labs/dbt-postgres/.github/workflows/release_prep_hatch.yml@main + uses: ./.github/workflows/release_prep_hatch.yml with: branch: ${{ inputs.branch }} version: ${{ inputs.version }} @@ -59,20 +59,15 @@ jobs: with: ref: ${{ needs.release-prep.outputs.release-branch }} persist-credentials: false - - - name: "Setup `hatch`" - uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main + - uses: actions/setup-python@v5 with: python-version: ${{ inputs.python_version }} - - - name: "Set archive name" - id: archive + - uses: pypa/hatch@install + - id: archive run: | archive_name=${{ github.event.repository.name }}-${{ inputs.version }}-${{ inputs.deploy-to }} echo "name=$archive_name" >> $GITHUB_OUTPUT - - - name: "Build ${{ github.event.repository.name }}" - uses: dbt-labs/dbt-adapters/.github/actions/build-hatch@main + - uses: dbt-labs/dbt-adapters/.github/actions/build-hatch@main with: archive-name: ${{ steps.archive.outputs.name }}