Skip to content

Commit

Permalink
update release workflow to use python 3.12 and make it configurable f…
Browse files Browse the repository at this point in the history
…or future updates
  • Loading branch information
mikealfare committed Aug 1, 2024
1 parent 0b0dd2f commit d3a3ce4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
description: "Only release Docker image, skip GitHub & PyPI"
type: boolean
default: false
python_version:
description: "Python version for building and testing the build"
type: string
default: "3.12"

permissions:
contents: write # this is the permission that allows creating a new release
Expand Down Expand Up @@ -53,6 +57,8 @@ jobs:

- name: "Setup `hatch`"
uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main
with:
python-version: ${{ inputs.python_version }}

- name: "Set archive name"
id: archive
Expand Down

0 comments on commit d3a3ce4

Please sign in to comment.