Skip to content

Commit c2b7463

Browse files
committed
chore: make pypi release workflow perform checkout (#3371)
The pypi workflow step is now a separate job, so it doesn't start with the code checkout done already. Run the checkout action so it is available so the bazel upload command can run. (cherry picked from commit cf594f7)
1 parent 66f1d47 commit c2b7463

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ jobs:
7070
needs: publish_bcr
7171
runs-on: ubuntu-latest
7272
steps:
73+
- name: Checkout
74+
uses: actions/checkout@v5
75+
with:
76+
ref: ${{ github.tag_name || github.ref_name }}
7377
- if: github.event_name == 'push' || github.event.inputs.publish_to_pypi
7478
env:
7579
# This special value tells pypi that the user identity is supplied within the token

0 commit comments

Comments
 (0)