From bc999b8b61173e820664a9113b0bb1aa240b164e Mon Sep 17 00:00:00 2001 From: Charles Treatman Date: Wed, 18 Dec 2024 13:48:55 -0600 Subject: [PATCH] chore(ci): check out new tag when publishing to PyPI --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index db1dff6b..5b953ec1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,6 +13,7 @@ jobs: outputs: new_release_published: ${{ steps.release.outputs.new_release_published }} + new_release_git_tag: ${{ steps.release.outputs.new_release_git_tag }} steps: - name: Checkout @@ -50,8 +51,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 - ssh-key: ${{ secrets.DEPLOY_KEY }} + ref: "${{ needs.release.outputs.new_release_git_tag }}" - name: Install Python uses: actions/setup-python@v5