Skip to content

Commit 7a4dd0d

Browse files
committed
chore: switch npm publish to trusted publishing
1 parent ad42b61 commit 7a4dd0d

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

.github/workflows/rust-release.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ jobs:
175175
permissions:
176176
id-token: write
177177
contents: read
178-
env:
179-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
180178

181179
steps:
182180
- uses: actions/checkout@v6
@@ -191,16 +189,6 @@ jobs:
191189
- name: Update npm
192190
run: npm install -g npm@latest
193191

194-
- name: Verify npm auth configuration
195-
shell: bash
196-
run: |
197-
set -euo pipefail
198-
if [[ -n "${NODE_AUTH_TOKEN:-}" ]]; then
199-
echo "Using NPM_TOKEN secret for automated publish."
200-
else
201-
echo "NPM_TOKEN secret is not set; falling back to npm trusted publishing."
202-
fi
203-
204192
- name: Download Linux x64 artifact
205193
uses: actions/download-artifact@v8
206194
with:

0 commit comments

Comments
 (0)