Skip to content

Commit

Permalink
reuse shared actions from dbt-adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 26, 2024
1 parent 834b970 commit 1cd0d66
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 46 deletions.
25 changes: 0 additions & 25 deletions .github/actions/publish-pypi/action.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/actions/setup-environment/action.yml

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: ${{ inputs.deploy-to }}
url: ${{ vars.PYPI_URL }}
url: ${{ vars.PYPI_PROJECT_URL }}
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing

Expand All @@ -39,7 +39,10 @@ jobs:
with:
persist-credentials: false

- name: Setup environment
uses: dbt-labs/dbt-adapters/.github/actions/setup-environment

- name: Publish to PyPI
uses: ./.github/actions/publish-pypi
uses: dbt-labs/dbt-adapters/.github/actions/publish-pypi.yml@main
with:
python-version: "3.11"
deploy-to: ${{ inputs.deploy-to }}

0 comments on commit 1cd0d66

Please sign in to comment.