Skip to content

Commit

Permalink
minimize changes in the release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Dec 7, 2024
1 parent f5c557e commit a02a7f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ on:
defaults:
run:
shell: "bash"
working-directory: ./dbt-postgres

jobs:
invoke-reusable-workflow:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,18 @@ jobs:
with:
ref: ${{ needs.release-prep.outputs.release-branch }}
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python_version }}
- uses: pypa/hatch@install
- id: archive

- name: "Setup `hatch`"
uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main

- name: "Set archive name"
id: archive
run: |
archive_name=${{ github.event.repository.name }}-${{ inputs.version }}-${{ inputs.deploy-to }}
echo "name=$archive_name" >> $GITHUB_OUTPUT
- uses: dbt-labs/dbt-adapters/.github/actions/build-hatch@main
- name: "Build ${{ github.event.repository.name }}"
uses: dbt-labs/dbt-adapters/.github/actions/build-hatch@main
with:
archive-name: ${{ steps.archive.outputs.name }}

Expand Down

0 comments on commit a02a7f1

Please sign in to comment.