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