Skip to content

Commit c011b5f

Browse files
committed
Fix UV_PUBLISH_TOKEN env var in the release script
1 parent b3d6243 commit c011b5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ jobs:
101101
bin/release-helper.sh git-commit-release ${{ env.release }}
102102
103103
- name: "Publish release to pypi"
104+
env:
105+
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
104106
run: |
105107
make install publish
106-
with:
107-
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
108108
109109
- name: "Push the release commit and tag"
110110
run: |
@@ -121,10 +121,10 @@ jobs:
121121
git push
122122
123123
- name: "Publish development version to pypi"
124+
env:
125+
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
124126
run: |
125127
make install publish
126-
with:
127-
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
128128
129129
- name: "Show git modifications"
130130
run: |

0 commit comments

Comments
 (0)