Skip to content

Commit e0ec36d

Browse files
committed
move environment key under job
1 parent 6d38523 commit e0ec36d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
branches:
77
- release
88

9-
environment: pypi
10-
119
concurrency:
1210
group: pypi-publish
1311
cancel-in-progress: true
@@ -32,6 +30,7 @@ jobs:
3230
permissions:
3331
id-token: write
3432
contents: read
33+
environment: pypi
3534
steps:
3635
- name: Checkout code
3736
uses: actions/checkout@v5
@@ -69,6 +68,7 @@ jobs:
6968
echo "should_publish=true" >> $GITHUB_OUTPUT
7069
echo "### 🚀 New version $PACKAGE_VERSION detected" >> $GITHUB_STEP_SUMMARY
7170
fi
71+
7272
- name: Debug OIDC
7373
run: |
7474
echo "ACTIONS_ID_TOKEN_REQUEST_URL=$ACTIONS_ID_TOKEN_REQUEST_URL"

0 commit comments

Comments
 (0)