Skip to content

Commit

Permalink
update workflow to allow for first publish on test pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Oct 1, 2024
1 parent aa9a996 commit 78dda89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/functional-tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
type: string
default: '3.8'
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.python-version }}
cancel-in-progress: true

env:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,15 @@ jobs:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
uses: dbt-labs/dbt-athena/.github/workflows/functional-tests-workflow.yml@actions/public-pypi-deploy
uses: ./.github/workflows/functional-tests-workflow.yml
secrets: inherit
permissions:
id-token: write
contents: read
with:
checkout-ref: ${{ inputs.branch }}
checkout-repository: ${{ github.repository }}
python-version: ${{ matrix.python-version }}
secrets: inherit

build-release:
name: "Build release"
Expand Down

0 comments on commit 78dda89

Please sign in to comment.