Skip to content

Commit bc43391

Browse files
authored
chore: change publish to pypi to use tag ref instead of release branch. (#211)
Signed-off-by: Eric Osiowy <134728121+erico-aws@users.noreply.github.com>
1 parent 1342ecc commit bc43391

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release_publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
# PyPI does not support reusable workflows yet
6767
# # See https://github.com/pypi/warehouse/issues/11096
6868
PublishToPyPI:
69-
needs: Publish
69+
needs: [TagRelease, Publish]
7070
runs-on: ubuntu-latest
7171
environment: release
7272
permissions:
@@ -75,7 +75,7 @@ jobs:
7575
- name: Checkout
7676
uses: actions/checkout@v4
7777
with:
78-
ref: release
78+
ref: ${{ needs.TagRelease.outputs.tag }}
7979
fetch-depth: 0
8080
- name: Set up Python
8181
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)