Skip to content

Commit 7b671ba

Browse files
committed
env variable pypi token 2
1 parent e65d7f9 commit 7b671ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release_build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
required: false
1111
workflow_dispatch:
1212

13+
env:
14+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
15+
1316
jobs:
1417
build_release:
1518
strategy:
@@ -32,8 +35,6 @@ jobs:
3235
python-tag: "py312"
3336
cuda-tag: "cu124"
3437
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
35-
env:
36-
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
3738
with:
3839
runner: ${{ matrix.os }}
3940
timeout: 30

0 commit comments

Comments
 (0)