From 2cf1f55105f16d41aa7f2fecd5add3c39a076ae2 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Thu, 23 Nov 2023 14:50:44 +0000 Subject: [PATCH] publish to pypi --- .github/workflows/release.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 000020d9..77b95c5e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,14 +6,22 @@ on: jobs: bump-version: - uses: openclimatefix/.github/.github/workflows/bump-version.yml@v1.7.2 + uses: openclimatefix/.github/.github/workflows/bump-version.yml@v1.8.1 secrets: PAT_TOKEN: ${{ secrets.PAT_TOKEN }} github-release: needs: [ bump-version ] - uses: openclimatefix/.github/.github/workflows/github-release.yml@v1.2.0 + uses: openclimatefix/.github/.github/workflows/github-release.yml@v1.8.1 with: version: ${{ needs.bump-version.outputs.new_ver }} + publish-to-pypi: + needs: [ bump-version ] + uses: openclimatefix/.github/.github/workflows/publish-to-pypi.yml@v1.8.1 + with: + ref: main + secrets: + token: ${{ secrets.PYPI_API_TOKEN }} +