Skip to content

Commit cf594f7

Browse files
authored
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.
1 parent 891e647 commit cf594f7

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)