-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
There seem to be problems with publishing packages currently when using the recommended npx jsr publish
GitHub workflow that gets shown in the documentation and when setting up a new project to publish.
Yesterday I encountered these two errors when trying to publish via GitHub actions:
error: Failed to get OIDC token: status 503 Service Unavailable, response: 'upstream connect error or disconnect/reset before headers. reset reason: overflow'
Command: /home/runner/.npm/_npx/91d31d47806d2506/node_modules/jsr/.download/v2.3.7/linux/deno publish
CWD: /home/runner/work/or-models/or-models
Output:
Child process exited with: 1
error: Failed to publish @fry69/deep-diff@0.1.4
Caused by:
expected value at line 1 column 1
Command: /home/runner/.npm/_npx/91d31d47806d2506/node_modules/jsr/.download/v2.3.7/linux/deno publish
CWD: /home/runner/work/deep-diff/deep-diff
Output:
Child process exited with: 1
Using deno publish
instead works fine:
name: Publish JSR
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
cache: true
- name: Publish package
run: deno publish
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Needs Triage