From e03a5a49f1ce31889dc3fe3a979436c7247641fa Mon Sep 17 00:00:00 2001 From: Sercan Cicek Date: Fri, 10 May 2024 17:11:14 +0300 Subject: [PATCH] Enable deploying to PyPI (#19) Deploying dbt-score to PyPI via github actions when the project is tagged. - https://pypi.org/project/dbt-score/#history --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da147b4..1002b41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ jobs: name: release runs-on: ubuntu-latest permissions: + id-token: write contents: write steps: @@ -18,6 +19,9 @@ jobs: uses: pdm-project/setup-pdm@v4 with: python-version: "3.10" + - name: Publish package distributions to PyPI + run: | + pdm publish - name: Install dependencies run: | pdm sync -G docs